Struct aws_sdk_cloudformation::model::RollbackTrigger
source · [−]#[non_exhaustive]pub struct RollbackTrigger { /* private fields */ }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.
Implementations
sourceimpl 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.
sourceimpl RollbackTrigger
impl RollbackTrigger
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RollbackTrigger.
Trait Implementations
sourceimpl Clone for RollbackTrigger
impl Clone for RollbackTrigger
sourcefn clone(&self) -> RollbackTrigger
fn clone(&self) -> RollbackTrigger
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for RollbackTrigger
impl Debug for RollbackTrigger
sourceimpl PartialEq<RollbackTrigger> for RollbackTrigger
impl PartialEq<RollbackTrigger> for RollbackTrigger
sourcefn eq(&self, other: &RollbackTrigger) -> bool
fn eq(&self, other: &RollbackTrigger) -> bool
impl StructuralPartialEq for RollbackTrigger
Auto Trait Implementations
impl RefUnwindSafe for RollbackTrigger
impl Send for RollbackTrigger
impl Sync for RollbackTrigger
impl Unpin for RollbackTrigger
impl UnwindSafe for RollbackTrigger
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more