Class CfnStackSet.DeploymentTargetsProperty
The AWS OrganizationalUnitIds or Accounts for which to create stack instances in the specified Regions.
Implements
Inherited Members
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnStackSet.DeploymentTargetsProperty : CfnStackSet.IDeploymentTargetsProperty
Syntax (vb)
Public Class CfnStackSet.DeploymentTargetsProperty Implements CfnStackSet.IDeploymentTargetsProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
var deploymentTargetsProperty = new DeploymentTargetsProperty {
AccountFilterType = "accountFilterType",
Accounts = new [] { "accounts" },
AccountsUrl = "accountsUrl",
OrganizationalUnitIds = new [] { "organizationalUnitIds" }
};
Synopsis
Constructors
DeploymentTargetsProperty() | The AWS OrganizationalUnitIds or Accounts for which to create stack instances in the specified Regions. |
Properties
AccountFilterType | Limit deployment targets to individual accounts or include additional accounts with provided OUs. |
Accounts | The account IDs of the AWS accounts . |
AccountsUrl | The Amazon S3 URL path to a file that contains a list of AWS account IDs. |
OrganizationalUnitIds | The organization root ID or organizational unit (OU) IDs. |
Constructors
DeploymentTargetsProperty()
The AWS OrganizationalUnitIds or Accounts for which to create stack instances in the specified Regions.
public DeploymentTargetsProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
var deploymentTargetsProperty = new DeploymentTargetsProperty {
AccountFilterType = "accountFilterType",
Accounts = new [] { "accounts" },
AccountsUrl = "accountsUrl",
OrganizationalUnitIds = new [] { "organizationalUnitIds" }
};
Properties
AccountFilterType
Limit deployment targets to individual accounts or include additional accounts with provided OUs.
public string? AccountFilterType { get; set; }
Property Value
Remarks
The following is a list of possible values for the AccountFilterType
operation.
Accounts
The account IDs of the AWS accounts .
public string[]? Accounts { get; set; }
Property Value
string[]
Remarks
If you have many account numbers, you can provide those accounts using the AccountsUrl
property instead.
Pattern : ^[0-9]{12}$
AccountsUrl
The Amazon S3 URL path to a file that contains a list of AWS account IDs.
public string? AccountsUrl { get; set; }
Property Value
Remarks
The file format must be either .csv
or .txt
, and the data can be comma-separated or new-line-separated. There is currently a 10MB limit for the data (approximately 800,000 accounts).
OrganizationalUnitIds
The organization root ID or organizational unit (OU) IDs.
public string[]? OrganizationalUnitIds { get; set; }
Property Value
string[]
Remarks
Pattern : ^(ou-[a-z0-9]{4,32}-[a-z0-9]{8,32}|r-[a-z0-9]{4,32})$