Struct aws_sdk_cloudformation::types::RollbackTrigger
source · #[non_exhaustive]pub struct RollbackTrigger {
pub arn: Option<String>,
pub type: Option<String>,
}
Expand description
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.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.arn: Option<String>
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: Option<String>
The resource type of the rollback trigger. Specify either AWS::CloudWatch::Alarm or AWS::CloudWatch::CompositeAlarm resource types.
Implementations§
source§impl RollbackTrigger
impl RollbackTrigger
sourcepub fn arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the rollback trigger.
If a specified trigger is missing, the entire stack operation fails and is rolled back.
sourcepub fn type(&self) -> Option<&str>
pub fn type(&self) -> Option<&str>
The resource type of the rollback trigger. Specify either AWS::CloudWatch::Alarm or AWS::CloudWatch::CompositeAlarm resource types.
source§impl RollbackTrigger
impl RollbackTrigger
sourcepub fn builder() -> RollbackTriggerBuilder
pub fn builder() -> RollbackTriggerBuilder
Creates a new builder-style object to manufacture RollbackTrigger
.
Trait Implementations§
source§impl Clone for RollbackTrigger
impl Clone for RollbackTrigger
source§fn clone(&self) -> RollbackTrigger
fn clone(&self) -> RollbackTrigger
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RollbackTrigger
impl Debug for RollbackTrigger
source§impl PartialEq for RollbackTrigger
impl PartialEq for RollbackTrigger
source§fn eq(&self, other: &RollbackTrigger) -> bool
fn eq(&self, other: &RollbackTrigger) -> bool
self
and other
values to be equal, and is used
by ==
.