#[non_exhaustive]pub struct ProvisioningPreferences {
pub stack_set_accounts: Option<Vec<String>>,
pub stack_set_regions: Option<Vec<String>>,
pub stack_set_failure_tolerance_count: Option<i32>,
pub stack_set_failure_tolerance_percentage: Option<i32>,
pub stack_set_max_concurrency_count: Option<i32>,
pub stack_set_max_concurrency_percentage: Option<i32>,
}
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 Amazon Web Services accounts that will have access to the provisioned product.
Applicable only to a CFN_STACKSET
provisioned product type.
The Amazon Web Services 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 (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.stack_set_accounts: Option<Vec<String>>
One or more Amazon Web Services 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_regions: Option<Vec<String>>
One or more Amazon Web Services 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.
stack_set_failure_tolerance_count: Option<i32>
The number of accounts, per Region, for which this operation can fail before Service Catalog stops the operation in that Region. If the operation is stopped in a Region, 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<i32>
The percentage of accounts, per Region, for which this stack operation can fail before Service Catalog stops the operation in that Region. If the operation is stopped in a Region, Service Catalog doesn't attempt the operation in any subsequent Regions.
When calculating the number of accounts based on the specified percentage, 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<i32>
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<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, 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, 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.
Implementations§
source§impl ProvisioningPreferences
impl ProvisioningPreferences
sourcepub fn stack_set_accounts(&self) -> &[String]
pub fn stack_set_accounts(&self) -> &[String]
One or more Amazon Web Services 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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .stack_set_accounts.is_none()
.
sourcepub fn stack_set_regions(&self) -> &[String]
pub fn stack_set_regions(&self) -> &[String]
One or more Amazon Web Services 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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .stack_set_regions.is_none()
.
sourcepub fn stack_set_failure_tolerance_count(&self) -> Option<i32>
pub fn stack_set_failure_tolerance_count(&self) -> Option<i32>
The number of accounts, per Region, for which this operation can fail before Service Catalog stops the operation in that Region. If the operation is stopped in a Region, 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.
sourcepub fn stack_set_failure_tolerance_percentage(&self) -> Option<i32>
pub fn stack_set_failure_tolerance_percentage(&self) -> Option<i32>
The percentage of accounts, per Region, for which this stack operation can fail before Service Catalog stops the operation in that Region. If the operation is stopped in a Region, Service Catalog doesn't attempt the operation in any subsequent Regions.
When calculating the number of accounts based on the specified percentage, 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.
sourcepub fn stack_set_max_concurrency_count(&self) -> Option<i32>
pub fn stack_set_max_concurrency_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 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.
sourcepub fn stack_set_max_concurrency_percentage(&self) -> Option<i32>
pub fn stack_set_max_concurrency_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, 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, 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.
source§impl ProvisioningPreferences
impl ProvisioningPreferences
sourcepub fn builder() -> ProvisioningPreferencesBuilder
pub fn builder() -> ProvisioningPreferencesBuilder
Creates a new builder-style object to manufacture ProvisioningPreferences
.
Trait Implementations§
source§impl Clone for ProvisioningPreferences
impl Clone for ProvisioningPreferences
source§fn clone(&self) -> ProvisioningPreferences
fn clone(&self) -> ProvisioningPreferences
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ProvisioningPreferences
impl Debug for ProvisioningPreferences
source§impl PartialEq for ProvisioningPreferences
impl PartialEq for ProvisioningPreferences
source§fn eq(&self, other: &ProvisioningPreferences) -> bool
fn eq(&self, other: &ProvisioningPreferences) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ProvisioningPreferences
Auto Trait Implementations§
impl Freeze for ProvisioningPreferences
impl RefUnwindSafe for ProvisioningPreferences
impl Send for ProvisioningPreferences
impl Sync for ProvisioningPreferences
impl Unpin for ProvisioningPreferences
impl UnwindSafe for ProvisioningPreferences
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more