Struct aws_sdk_cloudformation::model::DeploymentTargets
source · [−]#[non_exhaustive]pub struct DeploymentTargets { /* private fields */ }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.
Implementations
sourceimpl DeploymentTargets
impl DeploymentTargets
sourcepub fn accounts(&self) -> Option<&[String]>
pub fn accounts(&self) -> Option<&[String]>
The names of one or more Amazon Web Services accounts for which you want to deploy stack set updates.
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) -> Option<&[String]>
pub fn organizational_unit_ids(&self) -> Option<&[String]>
The organization root ID or organizational unit (OU) IDs to which StackSets deploys.
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 inAccountsparameter. -
DIFFERENCE: StackSets excludes the accounts specified inAccountsparameter. This enables user to avoid certain accounts within an OU such as suspended accounts. -
UNION: (default value) StackSets includes additional accounts deployment targets.This is the default value if
AccountFilterTypeis 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).
sourceimpl DeploymentTargets
impl DeploymentTargets
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DeploymentTargets.
Trait Implementations
sourceimpl Clone for DeploymentTargets
impl Clone for DeploymentTargets
sourcefn clone(&self) -> DeploymentTargets
fn clone(&self) -> DeploymentTargets
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more