-
Notifications
You must be signed in to change notification settings - Fork 17
/
awscloudformation_CfnStackSet_OperationPreferencesProperty.go
60 lines (57 loc) · 3.91 KB
/
awscloudformation_CfnStackSet_OperationPreferencesProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
package awscloudformation
// The user-specified preferences for how AWS CloudFormation performs a stack set operation.
//
// For more information on maximum concurrent accounts and failure tolerance, see [Stack set operation options](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-ops-options) .
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// operationPreferencesProperty := &OperationPreferencesProperty{
// FailureToleranceCount: jsii.Number(123),
// FailureTolerancePercentage: jsii.Number(123),
// MaxConcurrentCount: jsii.Number(123),
// MaxConcurrentPercentage: jsii.Number(123),
// RegionConcurrencyType: jsii.String("regionConcurrencyType"),
// RegionOrder: []*string{
// jsii.String("regionOrder"),
// },
// }
//
type CfnStackSet_OperationPreferencesProperty struct {
// The number of accounts, per Region, for which this operation can fail before AWS CloudFormation stops the operation in that Region.
//
// 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).
FailureToleranceCount *float64 `field:"optional" json:"failureToleranceCount" yaml:"failureToleranceCount"`
// The percentage of accounts, per Region, for which this stack operation can fail before AWS CloudFormation stops the operation in that Region.
//
// 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.
FailureTolerancePercentage *float64 `field:"optional" json:"failureTolerancePercentage" yaml:"failureTolerancePercentage"`
// 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.
MaxConcurrentCount *float64 `field:"optional" json:"maxConcurrentCount" yaml:"maxConcurrentCount"`
// 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 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.
MaxConcurrentPercentage *float64 `field:"optional" json:"maxConcurrentPercentage" yaml:"maxConcurrentPercentage"`
// The concurrency type of deploying StackSets operations in Regions, could be in parallel or one Region at a time.
RegionConcurrencyType *string `field:"optional" json:"regionConcurrencyType" yaml:"regionConcurrencyType"`
// The order of the Regions where you want to perform the stack operation.
RegionOrder *[]*string `field:"optional" json:"regionOrder" yaml:"regionOrder"`
}