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 ALARM 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.

If a specified trigger is missing, the entire stack operation fails and is rolled back.

Returns:

  • (String)


3268
3269
3270
3271
3272
# File 'gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb', line 3268

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)


3268
3269
3270
3271
3272
# File 'gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb', line 3268

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