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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb

Overview

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
}

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#enabledBoolean

Indicates whether a defined automatic rollback configuration is currently enabled.

Returns:

  • (Boolean)


262
263
264
265
266
267
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 262

class AutoRollbackConfiguration < Struct.new(
  :enabled,
  :events)
  SENSITIVE = []
  include Aws::Structure
end

#eventsArray<String>

The event type or types that trigger a rollback.

Returns:

  • (Array<String>)


262
263
264
265
266
267
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 262

class AutoRollbackConfiguration < Struct.new(
  :enabled,
  :events)
  SENSITIVE = []
  include Aws::Structure
end