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)


5164
5165
5166
5167
5168
5169
# File 'gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb', line 5164

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)


5164
5165
5166
5167
5168
5169
# File 'gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb', line 5164

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