@Stability(value=Stable)
public static interface CfnDeploymentGroup.AutoRollbackConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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 Object |
getEnabled()
Indicates whether a defined automatic rollback configuration is currently enabled.
|
default List<String> |
getEvents()
The event type or types that trigger a rollback.
|
@Stability(value=Stable) @Nullable default Object getEnabled()
@Stability(value=Stable) @Nullable default List<String> getEvents()
Valid values are DEPLOYMENT_FAILURE , DEPLOYMENT_STOP_ON_ALARM , or DEPLOYMENT_STOP_ON_REQUEST .
@Stability(value=Stable) static CfnDeploymentGroup.AutoRollbackConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.