This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::GreengrassV2::Deployment DeploymentPolicies
Contains information about policies that define how a deployment updates components and handles failure.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "ComponentUpdatePolicy" :DeploymentComponentUpdatePolicy, "ConfigurationValidationPolicy" :DeploymentConfigurationValidationPolicy, "FailureHandlingPolicy" :String}
YAML
ComponentUpdatePolicy:DeploymentComponentUpdatePolicyConfigurationValidationPolicy:DeploymentConfigurationValidationPolicyFailureHandlingPolicy:String
Properties
ComponentUpdatePolicy-
The component update policy for the configuration deployment. This policy defines when it's safe to deploy the configuration to devices.
Required: No
Type: DeploymentComponentUpdatePolicy
Update requires: Replacement
ConfigurationValidationPolicy-
The configuration validation policy for the configuration deployment. This policy defines how long each component has to validate its configure updates.
Required: No
Type: DeploymentConfigurationValidationPolicy
Update requires: Replacement
FailureHandlingPolicy-
The failure handling policy for the configuration deployment. This policy defines what to do if the deployment fails.
Default:
ROLLBACKRequired: No
Type: String
Allowed values:
ROLLBACK | DO_NOTHINGUpdate requires: Replacement