You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CodeDeploy::Types::AutoRollbackConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing AutoRollbackConfiguration as input to an Aws::Client method, you can use a vanilla Hash:

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

Information about a configuration for automatically rolling back to a previous version of an application revision when a deployment doesn't complete successfully.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#enabledBoolean

Indicates whether a defined automatic rollback configuration is currently enabled.

Returns:

  • (Boolean)

    Indicates whether a defined automatic rollback configuration is currently enabled.

#eventsArray<String>

The event type or types that trigger a rollback.

Returns:

  • (Array<String>)

    The event type or types that trigger a rollback.