Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DeploymentPolicies

import type { DeploymentPolicies } from "https://aws-api.deno.dev/v0.3/services/greengrassv2.ts?docs=full";

Contains information about policies that define how a deployment updates components and handles failure.

interface DeploymentPolicies {
componentUpdatePolicy?: DeploymentComponentUpdatePolicy | null;
configurationValidationPolicy?: DeploymentConfigurationValidationPolicy | null;
failureHandlingPolicy?: DeploymentFailureHandlingPolicy | null;
}

§Properties

§
componentUpdatePolicy?: DeploymentComponentUpdatePolicy | null
[src]

The component update policy for the configuration deployment. This policy defines when it's safe to deploy the configuration to devices.

§
configurationValidationPolicy?: DeploymentConfigurationValidationPolicy | null
[src]

The configuration validation policy for the configuration deployment. This policy defines how long each component has to validate its configure updates.

§
failureHandlingPolicy?: DeploymentFailureHandlingPolicy | null
[src]

The failure handling policy for the configuration deployment. This policy defines what to do if the deployment fails.

Default: ROLLBACK