pub struct ProvisioningPreferences {
pub stack_set_accounts: Option<Vec<String>>,
pub stack_set_failure_tolerance_count: Option<i64>,
pub stack_set_failure_tolerance_percentage: Option<i64>,
pub stack_set_max_concurrency_count: Option<i64>,
pub stack_set_max_concurrency_percentage: Option<i64>,
pub stack_set_regions: Option<Vec<String>>,
}
Expand description
The user-defined preferences that will be applied when updating a provisioned product. Not all preferences are applicable to all provisioned product type
One or more AWS accounts that will have access to the provisioned product.
Applicable only to a CFN_STACKSET
provisioned product type.
The AWS accounts specified should be within the list of accounts in the STACKSET
constraint. To get the list of accounts in the STACKSET
constraint, use the DescribeProvisioningParameters
operation.
If no values are specified, the default value is all accounts from the STACKSET
constraint.
Fields
stack_set_accounts: Option<Vec<String>>
One or more AWS accounts where the provisioned product will be available.
Applicable only to a CFN_STACKSET
provisioned product type.
The specified accounts should be within the list of accounts from the STACKSET
constraint. To get the list of accounts in the STACKSET
constraint, use the DescribeProvisioningParameters
operation.
If no values are specified, the default value is all acounts from the STACKSET
constraint.
stack_set_failure_tolerance_count: Option<i64>
The number of accounts, per region, for which this operation can fail before AWS Service Catalog stops the operation in that region. If the operation is stopped in a region, AWS Service Catalog doesn't attempt the operation in any subsequent regions.
Applicable only to a CFN_STACKSET
provisioned product type.
Conditional: You must specify either StackSetFailureToleranceCount
or StackSetFailureTolerancePercentage
, but not both.
The default value is 0
if no value is specified.
stack_set_failure_tolerance_percentage: Option<i64>
The percentage of accounts, per region, for which this stack operation can fail before AWS Service Catalog stops the operation in that region. If the operation is stopped in a region, AWS Service Catalog doesn't attempt the operation in any subsequent regions.
When calculating the number of accounts based on the specified percentage, AWS Service Catalog rounds down to the next whole number.
Applicable only to a CFN_STACKSET
provisioned product type.
Conditional: You must specify either StackSetFailureToleranceCount
or StackSetFailureTolerancePercentage
, but not both.
stack_set_max_concurrency_count: Option<i64>
The maximum number of accounts in which to perform this operation at one time. This is dependent on the value of StackSetFailureToleranceCount
. StackSetMaxConcurrentCount
is at most one more than the StackSetFailureToleranceCount
.
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.
Applicable only to a CFN_STACKSET
provisioned product type.
Conditional: You must specify either StackSetMaxConcurrentCount
or StackSetMaxConcurrentPercentage
, but not both.
stack_set_max_concurrency_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 Service Catalog rounds down to the next whole number. This is true except in cases where rounding down would result is zero. In this case, AWS Service Catalog sets the number as 1
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.
Applicable only to a CFN_STACKSET
provisioned product type.
Conditional: You must specify either StackSetMaxConcurrentCount
or StackSetMaxConcurrentPercentage
, but not both.
stack_set_regions: Option<Vec<String>>
One or more AWS Regions where the provisioned product will be available.
Applicable only to a CFN_STACKSET
provisioned product type.
The specified regions should be within the list of regions from the STACKSET
constraint. To get the list of regions in the STACKSET
constraint, use the DescribeProvisioningParameters
operation.
If no values are specified, the default value is all regions from the STACKSET
constraint.
Trait Implementations
sourceimpl Clone for ProvisioningPreferences
impl Clone for ProvisioningPreferences
sourcefn clone(&self) -> ProvisioningPreferences
fn clone(&self) -> ProvisioningPreferences
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 ProvisioningPreferences
impl Debug for ProvisioningPreferences
sourceimpl Default for ProvisioningPreferences
impl Default for ProvisioningPreferences
sourcefn default() -> ProvisioningPreferences
fn default() -> ProvisioningPreferences
Returns the “default value” for a type. Read more
sourceimpl PartialEq<ProvisioningPreferences> for ProvisioningPreferences
impl PartialEq<ProvisioningPreferences> for ProvisioningPreferences
sourcefn eq(&self, other: &ProvisioningPreferences) -> bool
fn eq(&self, other: &ProvisioningPreferences) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ProvisioningPreferences) -> bool
fn ne(&self, other: &ProvisioningPreferences) -> bool
This method tests for !=
.
sourceimpl Serialize for ProvisioningPreferences
impl Serialize for ProvisioningPreferences
impl StructuralPartialEq for ProvisioningPreferences
Auto Trait Implementations
impl RefUnwindSafe for ProvisioningPreferences
impl Send for ProvisioningPreferences
impl Sync for ProvisioningPreferences
impl Unpin for ProvisioningPreferences
impl UnwindSafe for ProvisioningPreferences
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