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 ==
.impl StructuralPartialEq for AutoDeployment
Auto Trait Implementations§
impl Freeze for AutoDeployment
impl RefUnwindSafe for AutoDeployment
impl Send for AutoDeployment
impl Sync for AutoDeployment
impl Unpin for AutoDeployment
impl UnwindSafe for AutoDeployment
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