class Aws::CodeDeploy::Types::AutoRollbackConfiguration

Information about a configuration for automatically rolling back to a previous version of an application revision when a deployment is not completed successfully.

@note When making an API call, you may pass AutoRollbackConfiguration

data as a hash:

    {
      enabled: false,
      events: ["DEPLOYMENT_FAILURE"], # accepts DEPLOYMENT_FAILURE, DEPLOYMENT_STOP_ON_ALARM, DEPLOYMENT_STOP_ON_REQUEST
    }

@!attribute [rw] enabled

Indicates whether a defined automatic rollback configuration is
currently enabled.
@return [Boolean]

@!attribute [rw] events

The event type or types that trigger a rollback.
@return [Array<String>]

@see docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AutoRollbackConfiguration AWS API Documentation

Constants

SENSITIVE