-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnStackSet_DeploymentTargetsProperty.go
55 lines (52 loc) · 3.11 KB
/
CfnStackSet_DeploymentTargetsProperty.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
package awscloudformation
// The AWS OrganizationalUnitIds or Accounts for which to create stack instances in the specified Regions.
//
// 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"
//
// deploymentTargetsProperty := &DeploymentTargetsProperty{
// AccountFilterType: jsii.String("accountFilterType"),
// Accounts: []*string{
// jsii.String("accounts"),
// },
// AccountsUrl: jsii.String("accountsUrl"),
// OrganizationalUnitIds: []*string{
// jsii.String("organizationalUnitIds"),
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-stackset-deploymenttargets.html
//
type CfnStackSet_DeploymentTargetsProperty struct {
// Limit deployment targets to individual accounts or include additional accounts with provided OUs.
//
// The following is a list of possible values for the `AccountFilterType` operation.
//
// - `INTERSECTION` : StackSets deploys to the accounts specified in `Accounts` parameter.
// - `DIFFERENCE` : StackSets excludes the accounts specified in `Accounts` parameter. This enables user to avoid certain accounts within an OU such as suspended accounts.
// - `UNION` : StackSets includes additional accounts deployment targets.
//
// This is the default value if `AccountFilterType` is not provided. This enables user to update an entire OU and individual accounts from a different OU in one request, which used to be two separate requests.
// - `NONE` : Deploys to all the accounts in specified organizational units (OU).
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-stackset-deploymenttargets.html#cfn-cloudformation-stackset-deploymenttargets-accountfiltertype
//
AccountFilterType *string `field:"optional" json:"accountFilterType" yaml:"accountFilterType"`
// The names of one or more AWS accounts for which you want to deploy stack set updates.
//
// *Pattern* : `^[0-9]{12}$`.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-stackset-deploymenttargets.html#cfn-cloudformation-stackset-deploymenttargets-accounts
//
Accounts *[]*string `field:"optional" json:"accounts" yaml:"accounts"`
// Returns the value of the `AccountsUrl` property.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-stackset-deploymenttargets.html#cfn-cloudformation-stackset-deploymenttargets-accountsurl
//
AccountsUrl *string `field:"optional" json:"accountsUrl" yaml:"accountsUrl"`
// The organization root ID or organizational unit (OU) IDs to which StackSets deploys.
//
// *Pattern* : `^(ou-[a-z0-9]{4,32}-[a-z0-9]{8,32}|r-[a-z0-9]{4,32})$`.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-stackset-deploymenttargets.html#cfn-cloudformation-stackset-deploymenttargets-organizationalunitids
//
OrganizationalUnitIds *[]*string `field:"optional" json:"organizationalUnitIds" yaml:"organizationalUnitIds"`
}