#[non_exhaustive]pub struct RollbackStackInput {
pub stack_name: Option<String>,
pub role_arn: Option<String>,
pub client_request_token: Option<String>,
pub retain_except_on_create: Option<bool>,
}
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.stack_name: Option<String>
The name that's associated with the stack.
role_arn: Option<String>
The Amazon Resource Name (ARN) of an Identity and Access Management role that CloudFormation assumes to rollback the stack.
client_request_token: Option<String>
A unique identifier for this RollbackStack
request.
retain_except_on_create: Option<bool>
When set to true
, newly created resources are deleted when the operation rolls back. This includes newly created resources marked with a deletion policy of Retain
.
Default: false
Implementations§
source§impl RollbackStackInput
impl RollbackStackInput
sourcepub fn stack_name(&self) -> Option<&str>
pub fn stack_name(&self) -> Option<&str>
The name that's associated with the stack.
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of an Identity and Access Management role that CloudFormation assumes to rollback the stack.
sourcepub fn client_request_token(&self) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
A unique identifier for this RollbackStack
request.
sourcepub fn retain_except_on_create(&self) -> Option<bool>
pub fn retain_except_on_create(&self) -> Option<bool>
When set to true
, newly created resources are deleted when the operation rolls back. This includes newly created resources marked with a deletion policy of Retain
.
Default: false
source§impl RollbackStackInput
impl RollbackStackInput
sourcepub fn builder() -> RollbackStackInputBuilder
pub fn builder() -> RollbackStackInputBuilder
Creates a new builder-style object to manufacture RollbackStackInput
.
Trait Implementations§
source§impl Clone for RollbackStackInput
impl Clone for RollbackStackInput
source§fn clone(&self) -> RollbackStackInput
fn clone(&self) -> RollbackStackInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RollbackStackInput
impl Debug for RollbackStackInput
source§impl PartialEq for RollbackStackInput
impl PartialEq for RollbackStackInput
source§fn eq(&self, other: &RollbackStackInput) -> bool
fn eq(&self, other: &RollbackStackInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RollbackStackInput
Auto Trait Implementations§
impl Freeze for RollbackStackInput
impl RefUnwindSafe for RollbackStackInput
impl Send for RollbackStackInput
impl Sync for RollbackStackInput
impl Unpin for RollbackStackInput
impl UnwindSafe for RollbackStackInput
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