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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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 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)

6427
6428
6429
6430
6431
6432
# File 'lib/aws-sdk-cloudformation/types.rb', line 6427

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

#typeString

The resource type of the rollback trigger. Currently,

AWS::CloudWatch::Alarm][1

is the only supported resource type.

[1]: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html

Returns:

  • (String)

6427
6428
6429
6430
6431
6432
# File 'lib/aws-sdk-cloudformation/types.rb', line 6427

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