Struct aws_sdk_cloudformation::model::AutoDeployment
source · [−]#[non_exhaustive]pub struct AutoDeployment { /* private fields */ }
Expand description
[Service-managed permissions] Describes whether StackSets automatically deploys to Organizations accounts that are added to a target organization or organizational unit (OU).
Implementations
sourceimpl 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
.
sourceimpl AutoDeployment
impl AutoDeployment
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AutoDeployment
.
Trait Implementations
sourceimpl Clone for AutoDeployment
impl Clone for AutoDeployment
sourcefn clone(&self) -> AutoDeployment
fn clone(&self) -> AutoDeployment
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more