public static interface CfnDeploymentGroup.AutoRollbackConfigurationProperty
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();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnDeploymentGroup.AutoRollbackConfigurationProperty.Builder
A builder for
CfnDeploymentGroup.AutoRollbackConfigurationProperty |
static class |
CfnDeploymentGroup.AutoRollbackConfigurationProperty.Jsii$Proxy
An implementation for
CfnDeploymentGroup.AutoRollbackConfigurationProperty |
Modifier and Type | Method and Description |
---|---|
static CfnDeploymentGroup.AutoRollbackConfigurationProperty.Builder |
builder() |
default java.lang.Object |
getEnabled()
Indicates whether a defined automatic rollback configuration is currently enabled.
|
default java.util.List<java.lang.String> |
getEvents()
The event type or types that trigger a rollback.
|
default java.lang.Object getEnabled()
default java.util.List<java.lang.String> getEvents()
Valid values are DEPLOYMENT_FAILURE
, DEPLOYMENT_STOP_ON_ALARM
, or DEPLOYMENT_STOP_ON_REQUEST
.