#[non_exhaustive]pub struct StackSetOperationPreferences { /* private fields */ }
Expand description
The user-specified preferences for how CloudFormation performs a stack set operation.
For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.
Implementations
sourceimpl StackSetOperationPreferences
impl StackSetOperationPreferences
sourcepub fn region_concurrency_type(&self) -> Option<&RegionConcurrencyType>
pub fn region_concurrency_type(&self) -> Option<&RegionConcurrencyType>
The concurrency type of deploying StackSets operations in Regions, could be in parallel or one Region at a time.
sourcepub fn region_order(&self) -> Option<&[String]>
pub fn region_order(&self) -> Option<&[String]>
The order of the Regions in where you want to perform the stack operation.
sourcepub fn failure_tolerance_count(&self) -> Option<i32>
pub fn failure_tolerance_count(&self) -> Option<i32>
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) -> Option<i32>
pub fn failure_tolerance_percentage(&self) -> Option<i32>
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) -> Option<i32>
pub fn max_concurrent_count(&self) -> Option<i32>
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) -> Option<i32>
pub fn max_concurrent_percentage(&self) -> Option<i32>
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.
sourceimpl StackSetOperationPreferences
impl StackSetOperationPreferences
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StackSetOperationPreferences
.
Trait Implementations
sourceimpl Clone for StackSetOperationPreferences
impl Clone for StackSetOperationPreferences
sourcefn clone(&self) -> StackSetOperationPreferences
fn clone(&self) -> StackSetOperationPreferences
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more