aws-cdk-lib.aws_greengrassv2.CfnDeployment.DeploymentPoliciesProperty

interface DeploymentPoliciesProperty

LanguageType name
.NETAmazon.CDK.AWS.GreengrassV2.CfnDeployment.DeploymentPoliciesProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsgreengrassv2#CfnDeployment_DeploymentPoliciesProperty
Javasoftware.amazon.awscdk.services.greengrassv2.CfnDeployment.DeploymentPoliciesProperty
Pythonaws_cdk.aws_greengrassv2.CfnDeployment.DeploymentPoliciesProperty
TypeScript aws-cdk-lib » aws_greengrassv2 » CfnDeployment » DeploymentPoliciesProperty

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

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_greengrassv2 as greengrassv2 } from 'aws-cdk-lib';
const deploymentPoliciesProperty: greengrassv2.CfnDeployment.DeploymentPoliciesProperty = {
  componentUpdatePolicy: {
    action: 'action',
    timeoutInSeconds: 123,
  },
  configurationValidationPolicy: {
    timeoutInSeconds: 123,
  },
  failureHandlingPolicy: 'failureHandlingPolicy',
};

Properties

NameTypeDescription
componentUpdatePolicy?IResolvable | DeploymentComponentUpdatePolicyPropertyThe component update policy for the configuration deployment.
configurationValidationPolicy?IResolvable | DeploymentConfigurationValidationPolicyPropertyThe configuration validation policy for the configuration deployment.
failureHandlingPolicy?stringThe failure handling policy for the configuration deployment. This policy defines what to do if the deployment fails.

componentUpdatePolicy?

Type: IResolvable | DeploymentComponentUpdatePolicyProperty (optional)

The component update policy for the configuration deployment.

This policy defines when it's safe to deploy the configuration to devices.


configurationValidationPolicy?

Type: IResolvable | DeploymentConfigurationValidationPolicyProperty (optional)

The configuration validation policy for the configuration deployment.

This policy defines how long each component has to validate its configure updates.


failureHandlingPolicy?

Type: string (optional)

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

Default: ROLLBACK