Table of Contents

Class CfnStackSet.DeploymentTargetsProperty

Namespace
Amazon.CDK
Assembly
Amazon.CDK.dll

The AWS OrganizationalUnitIds or Accounts for which to create stack instances in the specified Regions.

public class CfnStackSet.DeploymentTargetsProperty : CfnStackSet.IDeploymentTargetsProperty
Inheritance
CfnStackSet.DeploymentTargetsProperty
Implements
Inherited Members

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" },
                 OrganizationalUnitIds = new [] { "organizationalUnitIds" }
             };

Remarks

Constructors

DeploymentTargetsProperty()

public DeploymentTargetsProperty()

Properties

AccountFilterType

Limit deployment targets to individual accounts or include additional accounts with provided OUs.

public string? AccountFilterType { get; set; }

Property Value

string

Remarks

The following is a list of possible values for the AccountFilterType operation.

    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.

      Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-stackset-deploymenttargets.html#cfn-cloudformation-stackset-deploymenttargets-accountfiltertype

      Accounts

      The names of one or more AWS accounts for which you want to deploy stack set updates.

      public string[]? Accounts { get; set; }

      Property Value

      string[]

      Remarks

      OrganizationalUnitIds

      The organization root ID or organizational unit (OU) IDs to which StackSets deploys.

      public string[]? OrganizationalUnitIds { get; set; }

      Property Value

      string[]

      Remarks