#[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 ==
.