pub struct UpdateProvisioningPreferences {
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_operation_type: Option<String>,
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 types.
Fields
stack_set_accounts: Option<Vec<String>>
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.
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_operation_type: Option<String>
Determines what action AWS Service Catalog performs to a stack set or a stack instance represented by the provisioned product. The default value is UPDATE
if nothing is specified.
Applicable only to a CFN_STACKSET
provisioned product type.
- CREATE
-
Creates a new stack instance in the stack set represented by the provisioned product. In this case, only new stack instances are created based on accounts and regions; if new ProductId or ProvisioningArtifactID are passed, they will be ignored.
- UPDATE
-
Updates the stack set represented by the provisioned product and also its stack instances.
- DELETE
-
Deletes a stack instance in the stack set represented by the provisioned product.
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 UpdateProvisioningPreferences
impl Clone for UpdateProvisioningPreferences
sourcefn clone(&self) -> UpdateProvisioningPreferences
fn clone(&self) -> UpdateProvisioningPreferences
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 UpdateProvisioningPreferences
impl Debug for UpdateProvisioningPreferences
sourceimpl Default for UpdateProvisioningPreferences
impl Default for UpdateProvisioningPreferences
sourcefn default() -> UpdateProvisioningPreferences
fn default() -> UpdateProvisioningPreferences
Returns the “default value” for a type. Read more
sourceimpl PartialEq<UpdateProvisioningPreferences> for UpdateProvisioningPreferences
impl PartialEq<UpdateProvisioningPreferences> for UpdateProvisioningPreferences
sourcefn eq(&self, other: &UpdateProvisioningPreferences) -> bool
fn eq(&self, other: &UpdateProvisioningPreferences) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateProvisioningPreferences) -> bool
fn ne(&self, other: &UpdateProvisioningPreferences) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateProvisioningPreferences
Auto Trait Implementations
impl RefUnwindSafe for UpdateProvisioningPreferences
impl Send for UpdateProvisioningPreferences
impl Sync for UpdateProvisioningPreferences
impl Unpin for UpdateProvisioningPreferences
impl UnwindSafe for UpdateProvisioningPreferences
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