Struct aws_sdk_cloudformation::types::AutoDeployment
source · #[non_exhaustive]pub struct AutoDeployment {
pub enabled: Option<bool>,
pub retain_stacks_on_account_removal: Option<bool>,
}
Expand description
[Service-managed permissions] Describes whether StackSets automatically deploys to Organizations accounts that are added to a target organization or organizational unit (OU).
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.enabled: Option<bool>
If set to true
, StackSets automatically deploys additional stack instances to Organizations accounts that are added to a target organization or organizational unit (OU) in the specified Regions. If an account is removed from a target organization or OU, StackSets deletes stack instances from the account in the specified Regions.
retain_stacks_on_account_removal: Option<bool>
If set to true
, stack resources are retained when an account is removed from a target organization or OU. If set to false
, stack resources are deleted. Specify only if Enabled
is set to True
.
Implementations§
source§impl AutoDeployment
impl AutoDeployment
sourcepub fn enabled(&self) -> Option<bool>
pub fn enabled(&self) -> Option<bool>
If set to true
, StackSets automatically deploys additional stack instances to Organizations accounts that are added to a target organization or organizational unit (OU) in the specified Regions. If an account is removed from a target organization or OU, StackSets deletes stack instances from the account in the specified Regions.
sourcepub fn retain_stacks_on_account_removal(&self) -> Option<bool>
pub fn retain_stacks_on_account_removal(&self) -> Option<bool>
If set to true
, stack resources are retained when an account is removed from a target organization or OU. If set to false
, stack resources are deleted. Specify only if Enabled
is set to True
.
source§impl AutoDeployment
impl AutoDeployment
sourcepub fn builder() -> AutoDeploymentBuilder
pub fn builder() -> AutoDeploymentBuilder
Creates a new builder-style object to manufacture AutoDeployment
.
Trait Implementations§
source§impl Clone for AutoDeployment
impl Clone for AutoDeployment
source§fn clone(&self) -> AutoDeployment
fn clone(&self) -> AutoDeployment
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AutoDeployment
impl Debug for AutoDeployment
source§impl PartialEq for AutoDeployment
impl PartialEq for AutoDeployment
source§fn eq(&self, other: &AutoDeployment) -> bool
fn eq(&self, other: &AutoDeployment) -> bool
self
and other
values to be equal, and is used
by ==
.