AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Constant Summary collapse

SENSITIVE =
[]

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)


5223
5224
5225
5226
5227
5228
# File 'gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb', line 5223

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

#typeString

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

Returns:

  • (String)


5223
5224
5225
5226
5227
5228
# File 'gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb', line 5223

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