Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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.
RollbackTrigger' | |
|
Instances
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.