libZSservicesZSamazonka-cloudformationZSamazonka-cloudformation
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

  • arn :: Text

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

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

  • type' :: Text

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

Instances

Instances details
Eq RollbackTrigger Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.RollbackTrigger

Read RollbackTrigger Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.RollbackTrigger

Show 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 #

NFData RollbackTrigger Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.RollbackTrigger

Methods

rnf :: RollbackTrigger -> () #

Hashable RollbackTrigger Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.RollbackTrigger

ToQuery RollbackTrigger Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.RollbackTrigger

FromXML 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" "libZSservicesZSamazonka-cloudformationZSamazonka-cloudformation" '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. Currently, AWS::CloudWatch::Alarm is the only supported resource type.

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. Currently, AWS::CloudWatch::Alarm is the only supported resource type.