interface AutoRollbackConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.CodeDeploy.Mixins.CfnDeploymentGroupPropsMixin.AutoRollbackConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscodedeploy/mixins#CfnDeploymentGroupPropsMixin_AutoRollbackConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.codedeploy.mixins.CfnDeploymentGroupPropsMixin.AutoRollbackConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_codedeploy.mixins.CfnDeploymentGroupPropsMixin.AutoRollbackConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_codedeploy » mixins » CfnDeploymentGroupPropsMixin » AutoRollbackConfigurationProperty |
The AutoRollbackConfiguration property type configures automatic rollback for an AWS CodeDeploy deployment group when a deployment is not completed successfully.
For more information, see Automatic Rollbacks in the AWS CodeDeploy User Guide .
AutoRollbackConfiguration is a property of the DeploymentGroup resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as codedeploy_mixins } from '@aws-cdk/mixins-preview/aws-codedeploy';
const autoRollbackConfigurationProperty: codedeploy_mixins.CfnDeploymentGroupPropsMixin.AutoRollbackConfigurationProperty = {
enabled: false,
events: ['events'],
};
Properties
| Name | Type | Description |
|---|---|---|
| enabled? | boolean | IResolvable | Indicates whether a defined automatic rollback configuration is currently enabled. |
| events? | string[] | The event type or types that trigger a rollback. |
enabled?
Type:
boolean | IResolvable
(optional)
Indicates whether a defined automatic rollback configuration is currently enabled.
events?
Type:
string[]
(optional)
The event type or types that trigger a rollback.
Valid values are DEPLOYMENT_FAILURE , DEPLOYMENT_STOP_ON_ALARM , or DEPLOYMENT_STOP_ON_REQUEST .

.NET
Go
Java
Python
TypeScript