@Stability(value=Stable)
public static interface CfnStackSet.OperationPreferencesProperty
extends software.amazon.jsii.JsiiSerializable
For more information on maximum concurrent accounts and failure tolerance, see Stack set operation options .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cloudformation.*;
OperationPreferencesProperty operationPreferencesProperty = OperationPreferencesProperty.builder()
.failureToleranceCount(123)
.failureTolerancePercentage(123)
.maxConcurrentCount(123)
.maxConcurrentPercentage(123)
.regionConcurrencyType("regionConcurrencyType")
.regionOrder(List.of("regionOrder"))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnStackSet.OperationPreferencesProperty.Builder
A builder for
CfnStackSet.OperationPreferencesProperty |
static class |
CfnStackSet.OperationPreferencesProperty.Jsii$Proxy
An implementation for
CfnStackSet.OperationPreferencesProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnStackSet.OperationPreferencesProperty.Builder |
builder() |
default Number |
getFailureToleranceCount()
The number of accounts, per Region, for which this operation can fail before AWS CloudFormation stops the operation in that Region.
|
default Number |
getFailureTolerancePercentage()
The percentage of accounts, per Region, for which this stack operation can fail before AWS CloudFormation stops the operation in that Region.
|
default Number |
getMaxConcurrentCount()
The maximum number of accounts in which to perform this operation at one time.
|
default Number |
getMaxConcurrentPercentage()
The maximum percentage of accounts in which to perform this operation at one time.
|
default String |
getRegionConcurrencyType()
The concurrency type of deploying StackSets operations in Regions, could be in parallel or one Region at a time.
|
default List<String> |
getRegionOrder()
The order of the Regions where you want to perform the stack operation.
|
@Stability(value=Stable) @Nullable default Number getFailureToleranceCount()
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).
@Stability(value=Stable) @Nullable default Number getFailureTolerancePercentage()
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.
@Stability(value=Stable) @Nullable default Number getMaxConcurrentCount()
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.
@Stability(value=Stable) @Nullable default Number getMaxConcurrentPercentage()
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.
@Stability(value=Stable) @Nullable default String getRegionConcurrencyType()
Allowed values : SEQUENTIAL | PARALLEL
@Stability(value=Stable) @Nullable default List<String> getRegionOrder()
@Stability(value=Stable) static CfnStackSet.OperationPreferencesProperty.Builder builder()
Copyright © 2022. All rights reserved.