Struct aws_sdk_cloudformation::model::deployment_targets::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for DeploymentTargets.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn accounts(self, input: impl Into<String>) -> Self
pub fn accounts(self, input: impl Into<String>) -> Self
Appends an item to accounts.
To override the contents of this collection use set_accounts.
The names of one or more Amazon Web Services accounts for which you want to deploy stack set updates.
sourcepub fn set_accounts(self, input: Option<Vec<String>>) -> Self
pub fn set_accounts(self, input: Option<Vec<String>>) -> Self
The names of one or more Amazon Web Services accounts for which you want to deploy stack set updates.
sourcepub fn accounts_url(self, input: impl Into<String>) -> Self
pub fn accounts_url(self, input: impl Into<String>) -> Self
Returns the value of the AccountsUrl property.
sourcepub fn set_accounts_url(self, input: Option<String>) -> Self
pub fn set_accounts_url(self, input: Option<String>) -> Self
Returns the value of the AccountsUrl property.
sourcepub fn organizational_unit_ids(self, input: impl Into<String>) -> Self
pub fn organizational_unit_ids(self, input: impl Into<String>) -> Self
Appends an item to organizational_unit_ids.
To override the contents of this collection use set_organizational_unit_ids.
The organization root ID or organizational unit (OU) IDs to which StackSets deploys.
sourcepub fn set_organizational_unit_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_organizational_unit_ids(self, input: Option<Vec<String>>) -> Self
The organization root ID or organizational unit (OU) IDs to which StackSets deploys.
sourcepub fn account_filter_type(self, input: AccountFilterType) -> Self
pub fn account_filter_type(self, input: AccountFilterType) -> Self
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).
sourcepub fn set_account_filter_type(self, input: Option<AccountFilterType>) -> Self
pub fn set_account_filter_type(self, input: Option<AccountFilterType>) -> Self
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).
sourcepub fn build(self) -> DeploymentTargets
pub fn build(self) -> DeploymentTargets
Consumes the builder and constructs a DeploymentTargets.