Class: Aws::CodeDeploy::Types::AutoRollbackConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeDeploy::Types::AutoRollbackConfiguration
- 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
-
#enabled ⇒ Boolean
Indicates whether a defined automatic rollback configuration is currently enabled.
-
#events ⇒ Array<String>
The event type or types that trigger a rollback.
Instance Attribute Details
#enabled ⇒ Boolean
Indicates whether a defined automatic rollback configuration is currently enabled.
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 |
#events ⇒ Array<String>
The event type or types that trigger a rollback.
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 |