amazonka-cloudformation-2.0: Amazon CloudFormation SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CloudFormation.Types.RollbackTrigger

Description

 
Synopsis

Documentation

data RollbackTrigger Source #

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.

See: newRollbackTrigger smart constructor.

Constructors

RollbackTrigger' 

Fields

Instances

Instances details
ToQuery RollbackTrigger Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.RollbackTrigger

FromXML RollbackTrigger Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.RollbackTrigger

Generic RollbackTrigger Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.RollbackTrigger

Associated Types

type Rep RollbackTrigger :: Type -> Type #

Read RollbackTrigger Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.RollbackTrigger

Show RollbackTrigger Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.RollbackTrigger

NFData RollbackTrigger Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.RollbackTrigger

Methods

rnf :: RollbackTrigger -> () #

Eq RollbackTrigger Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.RollbackTrigger

Hashable RollbackTrigger Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.RollbackTrigger

type Rep RollbackTrigger Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.RollbackTrigger

type Rep RollbackTrigger = D1 ('MetaData "RollbackTrigger" "Amazonka.CloudFormation.Types.RollbackTrigger" "amazonka-cloudformation-2.0-2g2oPzedi5AcwbDRlNZfB" 'False) (C1 ('MetaCons "RollbackTrigger'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newRollbackTrigger Source #

Create a value of RollbackTrigger with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:arn:RollbackTrigger', rollbackTrigger_arn - The Amazon Resource Name (ARN) of the rollback trigger.

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

$sel:type':RollbackTrigger', rollbackTrigger_type - The resource type of the rollback trigger. Specify either AWS::CloudWatch::Alarm or AWS::CloudWatch::CompositeAlarm resource types.

rollbackTrigger_arn :: Lens' RollbackTrigger Text Source #

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

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

rollbackTrigger_type :: Lens' RollbackTrigger Text Source #

The resource type of the rollback trigger. Specify either AWS::CloudWatch::Alarm or AWS::CloudWatch::CompositeAlarm resource types.