Class DeploymentGroupAutoRollbackConfiguration


  • public final class DeploymentGroupAutoRollbackConfiguration
    extends java.lang.Object
    • 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_.