Struct aws_sdk_cloudformation::types::DeploymentTargets
source · #[non_exhaustive]pub struct DeploymentTargets {
pub accounts: Option<Vec<String>>,
pub accounts_url: Option<String>,
pub organizational_unit_ids: Option<Vec<String>>,
pub account_filter_type: Option<AccountFilterType>,
}
Expand description
[Service-managed permissions] The Organizations accounts to which StackSets deploys. StackSets doesn't deploy stack instances to the organization management account, even if the organization management account is in your organization or in an OU in your organization.
For update operations, you can specify either Accounts
or OrganizationalUnitIds
. For create and delete operations, specify OrganizationalUnitIds
.
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.accounts: Option<Vec<String>>
The names of one or more Amazon Web Services accounts for which you want to deploy stack set updates.
accounts_url: Option<String>
Returns the value of the AccountsUrl
property.
organizational_unit_ids: Option<Vec<String>>
The organization root ID or organizational unit (OU) IDs to which StackSets deploys.
account_filter_type: Option<AccountFilterType>
Limit deployment targets to individual accounts or include additional accounts with provided OUs.
The following is a list of possible values for the AccountFilterType
operation.
-
INTERSECTION
: StackSets deploys to the accounts specified inAccounts
parameter. -
DIFFERENCE
: StackSets excludes the accounts specified inAccounts
parameter. This enables user to avoid certain accounts within an OU such as suspended accounts. -
UNION
: StackSets includes additional accounts deployment targets.This is the default value if
AccountFilterType
is not provided. This enables user to update an entire OU and individual accounts from a different OU in one request, which used to be two separate requests. -
NONE
: Deploys to all the accounts in specified organizational units (OU).
Implementations§
source§impl DeploymentTargets
impl DeploymentTargets
sourcepub fn accounts(&self) -> &[String]
pub fn accounts(&self) -> &[String]
The names of one or more Amazon Web Services accounts for which you want to deploy stack set updates.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .accounts.is_none()
.
sourcepub fn accounts_url(&self) -> Option<&str>
pub fn accounts_url(&self) -> Option<&str>
Returns the value of the AccountsUrl
property.
sourcepub fn organizational_unit_ids(&self) -> &[String]
pub fn organizational_unit_ids(&self) -> &[String]
The organization root ID or organizational unit (OU) IDs to which StackSets deploys.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .organizational_unit_ids.is_none()
.
sourcepub fn account_filter_type(&self) -> Option<&AccountFilterType>
pub fn account_filter_type(&self) -> Option<&AccountFilterType>
Limit deployment targets to individual accounts or include additional accounts with provided OUs.
The following is a list of possible values for the AccountFilterType
operation.
-
INTERSECTION
: StackSets deploys to the accounts specified inAccounts
parameter. -
DIFFERENCE
: StackSets excludes the accounts specified inAccounts
parameter. This enables user to avoid certain accounts within an OU such as suspended accounts. -
UNION
: StackSets includes additional accounts deployment targets.This is the default value if
AccountFilterType
is not provided. This enables user to update an entire OU and individual accounts from a different OU in one request, which used to be two separate requests. -
NONE
: Deploys to all the accounts in specified organizational units (OU).
source§impl DeploymentTargets
impl DeploymentTargets
sourcepub fn builder() -> DeploymentTargetsBuilder
pub fn builder() -> DeploymentTargetsBuilder
Creates a new builder-style object to manufacture DeploymentTargets
.
Trait Implementations§
source§impl Clone for DeploymentTargets
impl Clone for DeploymentTargets
source§fn clone(&self) -> DeploymentTargets
fn clone(&self) -> DeploymentTargets
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeploymentTargets
impl Debug for DeploymentTargets
source§impl PartialEq for DeploymentTargets
impl PartialEq for DeploymentTargets
source§fn eq(&self, other: &DeploymentTargets) -> bool
fn eq(&self, other: &DeploymentTargets) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeploymentTargets
Auto Trait Implementations§
impl Freeze for DeploymentTargets
impl RefUnwindSafe for DeploymentTargets
impl Send for DeploymentTargets
impl Sync for DeploymentTargets
impl Unpin for DeploymentTargets
impl UnwindSafe for DeploymentTargets
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