/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The user-specified preferences for how CloudFormation performs a stack set
* operation. For more information about maximum concurrent accounts and
* failure tolerance, see Stack
* set operation options.See Also:
AWS
* API Reference
The concurrency type of deploying StackSets operations in Regions, could be * in parallel or one Region at a time.
*/ inline const RegionConcurrencyType& GetRegionConcurrencyType() const{ return m_regionConcurrencyType; } /** *The concurrency type of deploying StackSets operations in Regions, could be * in parallel or one Region at a time.
*/ inline bool RegionConcurrencyTypeHasBeenSet() const { return m_regionConcurrencyTypeHasBeenSet; } /** *The concurrency type of deploying StackSets operations in Regions, could be * in parallel or one Region at a time.
*/ inline void SetRegionConcurrencyType(const RegionConcurrencyType& value) { m_regionConcurrencyTypeHasBeenSet = true; m_regionConcurrencyType = value; } /** *The concurrency type of deploying StackSets operations in Regions, could be * in parallel or one Region at a time.
*/ inline void SetRegionConcurrencyType(RegionConcurrencyType&& value) { m_regionConcurrencyTypeHasBeenSet = true; m_regionConcurrencyType = std::move(value); } /** *The concurrency type of deploying StackSets operations in Regions, could be * in parallel or one Region at a time.
*/ inline StackSetOperationPreferences& WithRegionConcurrencyType(const RegionConcurrencyType& value) { SetRegionConcurrencyType(value); return *this;} /** *The concurrency type of deploying StackSets operations in Regions, could be * in parallel or one Region at a time.
*/ inline StackSetOperationPreferences& WithRegionConcurrencyType(RegionConcurrencyType&& value) { SetRegionConcurrencyType(std::move(value)); return *this;} /** *The order of the Regions where you want to perform the stack operation.
*/ inline const Aws::VectorThe order of the Regions where you want to perform the stack operation.
*/ inline bool RegionOrderHasBeenSet() const { return m_regionOrderHasBeenSet; } /** *The order of the Regions where you want to perform the stack operation.
*/ inline void SetRegionOrder(const Aws::VectorThe order of the Regions where you want to perform the stack operation.
*/ inline void SetRegionOrder(Aws::VectorThe order of the Regions where you want to perform the stack operation.
*/ inline StackSetOperationPreferences& WithRegionOrder(const Aws::VectorThe order of the Regions where you want to perform the stack operation.
*/ inline StackSetOperationPreferences& WithRegionOrder(Aws::VectorThe order of the Regions where you want to perform the stack operation.
*/ inline StackSetOperationPreferences& AddRegionOrder(const Aws::String& value) { m_regionOrderHasBeenSet = true; m_regionOrder.push_back(value); return *this; } /** *The order of the Regions where you want to perform the stack operation.
*/ inline StackSetOperationPreferences& AddRegionOrder(Aws::String&& value) { m_regionOrderHasBeenSet = true; m_regionOrder.push_back(std::move(value)); return *this; } /** *The order of the Regions where you want to perform the stack operation.
*/ inline StackSetOperationPreferences& AddRegionOrder(const char* value) { m_regionOrderHasBeenSet = true; m_regionOrder.push_back(value); return *this; } /** *The number of accounts, per Region, for which this operation can fail before * CloudFormation stops the operation in that Region. If the operation is stopped * in a Region, 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.
The number of accounts, per Region, for which this operation can fail before * CloudFormation stops the operation in that Region. If the operation is stopped * in a Region, 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.
The number of accounts, per Region, for which this operation can fail before * CloudFormation stops the operation in that Region. If the operation is stopped * in a Region, 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.
The number of accounts, per Region, for which this operation can fail before * CloudFormation stops the operation in that Region. If the operation is stopped * in a Region, 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.
The percentage of accounts, per Region, for which this stack operation can * fail before CloudFormation stops the operation in that Region. If the operation * is stopped in a Region, CloudFormation doesn't attempt the operation in any * subsequent Regions.
When calculating the number of accounts based on the * specified percentage, CloudFormation rounds down to the next whole * number.
Conditional: You must specify either
* FailureToleranceCount
or FailureTolerancePercentage
,
* but not both.
By default, 0
is specified.
The percentage of accounts, per Region, for which this stack operation can * fail before CloudFormation stops the operation in that Region. If the operation * is stopped in a Region, CloudFormation doesn't attempt the operation in any * subsequent Regions.
When calculating the number of accounts based on the * specified percentage, CloudFormation rounds down to the next whole * number.
Conditional: You must specify either
* FailureToleranceCount
or FailureTolerancePercentage
,
* but not both.
By default, 0
is specified.
The percentage of accounts, per Region, for which this stack operation can * fail before CloudFormation stops the operation in that Region. If the operation * is stopped in a Region, CloudFormation doesn't attempt the operation in any * subsequent Regions.
When calculating the number of accounts based on the * specified percentage, CloudFormation rounds down to the next whole * number.
Conditional: You must specify either
* FailureToleranceCount
or FailureTolerancePercentage
,
* but not both.
By default, 0
is specified.
The percentage of accounts, per Region, for which this stack operation can * fail before CloudFormation stops the operation in that Region. If the operation * is stopped in a Region, CloudFormation doesn't attempt the operation in any * subsequent Regions.
When calculating the number of accounts based on the * specified percentage, CloudFormation rounds down to the next whole * number.
Conditional: You must specify either
* FailureToleranceCount
or FailureTolerancePercentage
,
* but not both.
By default, 0
is specified.
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.
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.
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.
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.
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, 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.
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, 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.
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, 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.
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, 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.