#[non_exhaustive]pub struct StackSetOperationPreferences {
pub region_concurrency_type: Option<RegionConcurrencyType>,
pub region_order: Option<Vec<String>>,
pub failure_tolerance_count: Option<i32>,
pub failure_tolerance_percentage: Option<i32>,
pub max_concurrent_count: Option<i32>,
pub max_concurrent_percentage: Option<i32>,
}
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.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.region_concurrency_type: Option<RegionConcurrencyType>
The concurrency type of deploying StackSets operations in Regions, could be in parallel or one Region at a time.
region_order: Option<Vec<String>>
The order of the Regions in where you want to perform the stack operation.
failure_tolerance_count: 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.
failure_tolerance_percentage: 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.
max_concurrent_count: 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.
max_concurrent_percentage: 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.
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
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StackSetOperationPreferences
impl Debug for StackSetOperationPreferences
sourceimpl PartialEq<StackSetOperationPreferences> for StackSetOperationPreferences
impl PartialEq<StackSetOperationPreferences> for StackSetOperationPreferences
sourcefn eq(&self, other: &StackSetOperationPreferences) -> bool
fn eq(&self, other: &StackSetOperationPreferences) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StackSetOperationPreferences) -> bool
fn ne(&self, other: &StackSetOperationPreferences) -> bool
This method tests for !=
.
impl StructuralPartialEq for StackSetOperationPreferences
Auto Trait Implementations
impl RefUnwindSafe for StackSetOperationPreferences
impl Send for StackSetOperationPreferences
impl Sync for StackSetOperationPreferences
impl Unpin for StackSetOperationPreferences
impl UnwindSafe for StackSetOperationPreferences
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