aws-cdk-lib.CfnStackSet.AutoDeploymentProperty

interface AutoDeploymentProperty

LanguageType name
.NETAmazon.CDK.CfnStackSet.AutoDeploymentProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2#CfnStackSet_AutoDeploymentProperty
Javasoftware.amazon.awscdk.CfnStackSet.AutoDeploymentProperty
Pythonaws_cdk.CfnStackSet.AutoDeploymentProperty
TypeScript aws-cdk-lib » CfnStackSet » AutoDeploymentProperty

[ Service-managed permissions] Describes whether StackSets automatically deploys to AWS Organizations accounts that are added to a target organizational unit (OU).

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
const autoDeploymentProperty: cdk.CfnStackSet.AutoDeploymentProperty = {
  enabled: false,
  retainStacksOnAccountRemoval: false,
};

Properties

NameTypeDescription
enabled?boolean | IResolvableIf set to true , StackSets automatically deploys additional stack instances to AWS Organizations accounts that are added to a target organization or organizational unit (OU) in the specified Regions.
retainStacksOnAccountRemoval?boolean | IResolvableIf set to true , stack resources are retained when an account is removed from a target organization or OU.

enabled?

Type: boolean | IResolvable (optional)

If set to true , StackSets automatically deploys additional stack instances to AWS Organizations accounts that are added to a target organization or organizational unit (OU) in the specified Regions.

If an account is removed from a target organization or OU, StackSets deletes stack instances from the account in the specified Regions.


retainStacksOnAccountRemoval?

Type: boolean | IResolvable (optional)

If set to true , stack resources are retained when an account is removed from a target organization or OU.

If set to false , stack resources are deleted. Specify only if Enabled is set to True .