Class DeploymentGroupAutoRollbackConfiguration
- java.lang.Object
-
- com.pulumi.aws.codedeploy.outputs.DeploymentGroupAutoRollbackConfiguration
-
public final class DeploymentGroupAutoRollbackConfiguration extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeploymentGroupAutoRollbackConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeploymentGroupAutoRollbackConfiguration.Builderbuilder()static DeploymentGroupAutoRollbackConfiguration.Builderbuilder(DeploymentGroupAutoRollbackConfiguration defaults)java.util.Optional<java.lang.Boolean>enabled()java.util.List<java.lang.String>events()
-
-
-
Method Detail
-
enabled
public java.util.Optional<java.lang.Boolean> enabled()
- Returns:
- Indicates whether a defined automatic rollback configuration is currently enabled for this Deployment Group. If you enable automatic rollback, you must specify at least one event type.
-
events
public java.util.List<java.lang.String> events()
- Returns:
- The event type or types that trigger a rollback. Supported types are `DEPLOYMENT_FAILURE`, `DEPLOYMENT_STOP_ON_ALARM` and `DEPLOYMENT_STOP_ON_REQUEST`. _Only one `autoRollbackConfiguration` is allowed_.
-
builder
public static DeploymentGroupAutoRollbackConfiguration.Builder builder()
-
builder
public static DeploymentGroupAutoRollbackConfiguration.Builder builder(DeploymentGroupAutoRollbackConfiguration defaults)
-
-