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 ==
.impl StructuralPartialEq for RollbackTrigger
Auto Trait Implementations§
impl Freeze for RollbackTrigger
impl RefUnwindSafe for RollbackTrigger
impl Send for RollbackTrigger
impl Sync for RollbackTrigger
impl Unpin for RollbackTrigger
impl UnwindSafe for RollbackTrigger
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more