Interface CfnDeploymentGroup.AutoRollbackConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDeploymentGroup.AutoRollbackConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDeploymentGroup
@Stability(Stable)
public static interface CfnDeploymentGroup.AutoRollbackConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.codedeploy.*;
AutoRollbackConfigurationProperty autoRollbackConfigurationProperty = AutoRollbackConfigurationProperty.builder()
.enabled(false)
.events(List.of("events"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDeploymentGroup.AutoRollbackConfigurationPropertystatic final classAn implementation forCfnDeploymentGroup.AutoRollbackConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEnabled
Indicates whether a defined automatic rollback configuration is currently enabled.Returns union: either
BooleanorIResolvable- See Also:
-
getEvents
The event type or types that trigger a rollback.Valid values are
DEPLOYMENT_FAILURE,DEPLOYMENT_STOP_ON_ALARM, orDEPLOYMENT_STOP_ON_REQUEST.- See Also:
-
builder
-