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