Struct aws_sdk_cloudformation::model::RollbackTrigger
source · [−]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
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 more
sourceimpl 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RollbackTrigger) -> bool
fn ne(&self, other: &RollbackTrigger) -> bool
This method tests for !=
.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more