#[non_exhaustive]pub struct ExecuteChangeSetInput {
pub change_set_name: Option<String>,
pub stack_name: Option<String>,
pub client_request_token: Option<String>,
pub disable_rollback: Option<bool>,
pub retain_except_on_create: Option<bool>,
}
Expand description
The input for the ExecuteChangeSet
action.
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.change_set_name: Option<String>
The name or Amazon Resource Name (ARN) of the change set that you want use to update the specified stack.
stack_name: Option<String>
If you specified the name of a change set, specify the stack name or Amazon Resource Name (ARN) that's associated with the change set you want to execute.
client_request_token: Option<String>
A unique identifier for this ExecuteChangeSet
request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to execute a change set to update a stack with the same name. You might retry ExecuteChangeSet
requests to ensure that CloudFormation successfully received them.
disable_rollback: Option<bool>
Preserves the state of previously provisioned resources when an operation fails. This parameter can't be specified when the OnStackFailure
parameter to the CreateChangeSet API operation was specified.
-
True
- if the stack creation fails, do nothing. This is equivalent to specifyingDO_NOTHING
for theOnStackFailure
parameter to the CreateChangeSet API operation. -
False
- if the stack creation fails, roll back the stack. This is equivalent to specifyingROLLBACK
for theOnStackFailure
parameter to the CreateChangeSet API operation.
Default: True
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 ExecuteChangeSetInput
impl ExecuteChangeSetInput
sourcepub fn change_set_name(&self) -> Option<&str>
pub fn change_set_name(&self) -> Option<&str>
The name or Amazon Resource Name (ARN) of the change set that you want use to update the specified stack.
sourcepub fn stack_name(&self) -> Option<&str>
pub fn stack_name(&self) -> Option<&str>
If you specified the name of a change set, specify the stack name or Amazon Resource Name (ARN) that's associated with the change set you want to execute.
sourcepub fn client_request_token(&self) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
A unique identifier for this ExecuteChangeSet
request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to execute a change set to update a stack with the same name. You might retry ExecuteChangeSet
requests to ensure that CloudFormation successfully received them.
sourcepub fn disable_rollback(&self) -> Option<bool>
pub fn disable_rollback(&self) -> Option<bool>
Preserves the state of previously provisioned resources when an operation fails. This parameter can't be specified when the OnStackFailure
parameter to the CreateChangeSet API operation was specified.
-
True
- if the stack creation fails, do nothing. This is equivalent to specifyingDO_NOTHING
for theOnStackFailure
parameter to the CreateChangeSet API operation. -
False
- if the stack creation fails, roll back the stack. This is equivalent to specifyingROLLBACK
for theOnStackFailure
parameter to the CreateChangeSet API operation.
Default: True
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 ExecuteChangeSetInput
impl ExecuteChangeSetInput
sourcepub fn builder() -> ExecuteChangeSetInputBuilder
pub fn builder() -> ExecuteChangeSetInputBuilder
Creates a new builder-style object to manufacture ExecuteChangeSetInput
.
Trait Implementations§
source§impl Clone for ExecuteChangeSetInput
impl Clone for ExecuteChangeSetInput
source§fn clone(&self) -> ExecuteChangeSetInput
fn clone(&self) -> ExecuteChangeSetInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExecuteChangeSetInput
impl Debug for ExecuteChangeSetInput
source§impl PartialEq for ExecuteChangeSetInput
impl PartialEq for ExecuteChangeSetInput
source§fn eq(&self, other: &ExecuteChangeSetInput) -> bool
fn eq(&self, other: &ExecuteChangeSetInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExecuteChangeSetInput
Auto Trait Implementations§
impl Freeze for ExecuteChangeSetInput
impl RefUnwindSafe for ExecuteChangeSetInput
impl Send for ExecuteChangeSetInput
impl Sync for ExecuteChangeSetInput
impl Unpin for ExecuteChangeSetInput
impl UnwindSafe for ExecuteChangeSetInput
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