pub struct StackSetOperationPreferences {
pub failure_tolerance_count: Option<i64>,
pub failure_tolerance_percentage: Option<i64>,
pub max_concurrent_count: Option<i64>,
pub max_concurrent_percentage: Option<i64>,
pub region_concurrency_type: Option<String>,
pub region_order: Option<Vec<String>>,
}
Expand description
The user-specified preferences for how AWS CloudFormation performs a stack set operation.
For more information on maximum concurrent accounts and failure tolerance, see Stack set operation options.
Fields
failure_tolerance_count: Option<i64>
The number of accounts, per Region, for which this operation can fail before AWS CloudFormation stops the operation in that Region. If the operation is stopped in a Region, AWS 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<i64>
The percentage of accounts, per Region, for which this stack operation can fail before AWS CloudFormation stops the operation in that Region. If the operation is stopped in a Region, AWS CloudFormation doesn't attempt the operation in any subsequent Regions.
When calculating the number of accounts based on the specified percentage, AWS 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<i64>
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<i64>
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, AWS 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.
region_concurrency_type: Option<String>
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.
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 Default for StackSetOperationPreferences
impl Default for StackSetOperationPreferences
sourcefn default() -> StackSetOperationPreferences
fn default() -> StackSetOperationPreferences
Returns the “default value” for a type. Read more
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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