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
- Struct
- Aws::CodeDeploy::Types::AutoRollbackConfiguration
 
- 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 is not completed successfully.
Returned by:
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.
#events ⇒ Array<String>
The event type or types that trigger a rollback.