#[non_exhaustive]pub struct DeploymentTargetsBuilder { /* private fields */ }
Expand description
A builder for DeploymentTargets
.
Implementations§
source§impl DeploymentTargetsBuilder
impl DeploymentTargetsBuilder
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 get_accounts(&self) -> &Option<Vec<String>>
pub fn get_accounts(&self) -> &Option<Vec<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, 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 get_accounts_url(&self) -> &Option<String>
pub fn get_accounts_url(&self) -> &Option<String>
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 get_organizational_unit_ids(&self) -> &Option<Vec<String>>
pub fn get_organizational_unit_ids(&self) -> &Option<Vec<String>>
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 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).
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 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).
sourcepub fn get_account_filter_type(&self) -> &Option<AccountFilterType>
pub fn get_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).
sourcepub fn build(self) -> DeploymentTargets
pub fn build(self) -> DeploymentTargets
Consumes the builder and constructs a DeploymentTargets
.
Trait Implementations§
source§impl Clone for DeploymentTargetsBuilder
impl Clone for DeploymentTargetsBuilder
source§fn clone(&self) -> DeploymentTargetsBuilder
fn clone(&self) -> DeploymentTargetsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeploymentTargetsBuilder
impl Debug for DeploymentTargetsBuilder
source§impl Default for DeploymentTargetsBuilder
impl Default for DeploymentTargetsBuilder
source§fn default() -> DeploymentTargetsBuilder
fn default() -> DeploymentTargetsBuilder
source§impl PartialEq for DeploymentTargetsBuilder
impl PartialEq for DeploymentTargetsBuilder
source§fn eq(&self, other: &DeploymentTargetsBuilder) -> bool
fn eq(&self, other: &DeploymentTargetsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.