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

Class: Aws::CloudFormation::Types::RollbackTrigger

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

Overview

Note:

When making an API call, you may pass RollbackTrigger data as a hash:

{
  arn: "Arn", # required
  type: "Type", # required
}

A rollback trigger AWS CloudFormation monitors during creation and updating of stacks. If any of the alarms you specify goes to ALERT state during the stack operation or within the specified monitoring period afterwards, CloudFormation rolls back the entire stack operation.

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) of the rollback trigger.

Returns:

  • (String)


3190
3191
3192
3193
3194
# File 'gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb', line 3190

class RollbackTrigger < Struct.new(
  :arn,
  :type)
  include Aws::Structure
end

#typeString

The resource type of the rollback trigger. Currently, AWS::CloudWatch::Alarm is the only supported resource type.

Returns:

  • (String)


3190
3191
3192
3193
3194
# File 'gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb', line 3190

class RollbackTrigger < Struct.new(
  :arn,
  :type)
  include Aws::Structure
end