#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for StackSetOperationPreferences
Implementations
sourceimpl Builder
impl Builder
sourcepub fn region_concurrency_type(self, input: RegionConcurrencyType) -> Self
pub fn region_concurrency_type(self, input: RegionConcurrencyType) -> Self
The concurrency type of deploying StackSets operations in Regions, could be in parallel or one Region at a time.
sourcepub fn set_region_concurrency_type(
self,
input: Option<RegionConcurrencyType>
) -> Self
pub fn set_region_concurrency_type(
self,
input: Option<RegionConcurrencyType>
) -> Self
The concurrency type of deploying StackSets operations in Regions, could be in parallel or one Region at a time.
sourcepub fn region_order(self, input: impl Into<String>) -> Self
pub fn region_order(self, input: impl Into<String>) -> Self
Appends an item to region_order
.
To override the contents of this collection use set_region_order
.
The order of the Regions in where you want to perform the stack operation.
sourcepub fn set_region_order(self, input: Option<Vec<String>>) -> Self
pub fn set_region_order(self, input: Option<Vec<String>>) -> Self
The order of the Regions in where you want to perform the stack operation.
sourcepub fn failure_tolerance_count(self, input: i32) -> Self
pub fn failure_tolerance_count(self, input: i32) -> Self
The number of accounts, per Region, for which this operation can fail before CloudFormation stops the operation in that Region. If the operation is stopped in a Region, CloudFormation doesn't attempt the operation in any subsequent Regions.
Conditional: You must specify either FailureToleranceCount
or FailureTolerancePercentage
(but not both).
By default, 0
is specified.
sourcepub fn set_failure_tolerance_count(self, input: Option<i32>) -> Self
pub fn set_failure_tolerance_count(self, input: Option<i32>) -> Self
The number of accounts, per Region, for which this operation can fail before CloudFormation stops the operation in that Region. If the operation is stopped in a Region, CloudFormation doesn't attempt the operation in any subsequent Regions.
Conditional: You must specify either FailureToleranceCount
or FailureTolerancePercentage
(but not both).
By default, 0
is specified.
sourcepub fn failure_tolerance_percentage(self, input: i32) -> Self
pub fn failure_tolerance_percentage(self, input: i32) -> Self
The percentage of accounts, per Region, for which this stack operation can fail before CloudFormation stops the operation in that Region. If the operation is stopped in a Region, CloudFormation doesn't attempt the operation in any subsequent Regions.
When calculating the number of accounts based on the specified percentage, CloudFormation rounds down to the next whole number.
Conditional: You must specify either FailureToleranceCount
or FailureTolerancePercentage
, but not both.
By default, 0
is specified.
sourcepub fn set_failure_tolerance_percentage(self, input: Option<i32>) -> Self
pub fn set_failure_tolerance_percentage(self, input: Option<i32>) -> Self
The percentage of accounts, per Region, for which this stack operation can fail before CloudFormation stops the operation in that Region. If the operation is stopped in a Region, CloudFormation doesn't attempt the operation in any subsequent Regions.
When calculating the number of accounts based on the specified percentage, CloudFormation rounds down to the next whole number.
Conditional: You must specify either FailureToleranceCount
or FailureTolerancePercentage
, but not both.
By default, 0
is specified.
sourcepub fn max_concurrent_count(self, input: i32) -> Self
pub fn max_concurrent_count(self, input: i32) -> Self
The maximum number of accounts in which to perform this operation at one time. This is dependent on the value of FailureToleranceCount
.MaxConcurrentCount
is at most one more than the FailureToleranceCount
.
Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling.
Conditional: You must specify either MaxConcurrentCount
or MaxConcurrentPercentage
, but not both.
By default, 1
is specified.
sourcepub fn set_max_concurrent_count(self, input: Option<i32>) -> Self
pub fn set_max_concurrent_count(self, input: Option<i32>) -> Self
The maximum number of accounts in which to perform this operation at one time. This is dependent on the value of FailureToleranceCount
.MaxConcurrentCount
is at most one more than the FailureToleranceCount
.
Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling.
Conditional: You must specify either MaxConcurrentCount
or MaxConcurrentPercentage
, but not both.
By default, 1
is specified.
sourcepub fn max_concurrent_percentage(self, input: i32) -> Self
pub fn max_concurrent_percentage(self, input: i32) -> Self
The maximum percentage of accounts in which to perform this operation at one time.
When calculating the number of accounts based on the specified percentage, CloudFormation rounds down to the next whole number. This is true except in cases where rounding down would result is zero. In this case, CloudFormation sets the number as one instead.
Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling.
Conditional: You must specify either MaxConcurrentCount
or MaxConcurrentPercentage
, but not both.
By default, 1
is specified.
sourcepub fn set_max_concurrent_percentage(self, input: Option<i32>) -> Self
pub fn set_max_concurrent_percentage(self, input: Option<i32>) -> Self
The maximum percentage of accounts in which to perform this operation at one time.
When calculating the number of accounts based on the specified percentage, CloudFormation rounds down to the next whole number. This is true except in cases where rounding down would result is zero. In this case, CloudFormation sets the number as one instead.
Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling.
Conditional: You must specify either MaxConcurrentCount
or MaxConcurrentPercentage
, but not both.
By default, 1
is specified.
sourcepub fn build(self) -> StackSetOperationPreferences
pub fn build(self) -> StackSetOperationPreferences
Consumes the builder and constructs a StackSetOperationPreferences
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more