interface AutoDeploymentProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.CloudFormation.Mixins.CfnStackSetPropsMixin.AutoDeploymentProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscloudformation/mixins#CfnStackSetPropsMixin_AutoDeploymentProperty |
Java | software.amazon.awscdk.mixins.preview.services.cloudformation.mixins.CfnStackSetPropsMixin.AutoDeploymentProperty |
Python | aws_cdk.mixins_preview.aws_cloudformation.mixins.CfnStackSetPropsMixin.AutoDeploymentProperty |
TypeScript | @aws-cdk/mixins-preview » aws_cloudformation » mixins » CfnStackSetPropsMixin » AutoDeploymentProperty |
Describes whether StackSets automatically deploys to AWS Organizations accounts that are added to a target organization or organizational unit (OU).
For more information, see Enable or disable automatic deployments for StackSets in AWS Organizations in the CloudFormation User Guide .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as cloudformation_mixins } from '@aws-cdk/mixins-preview/aws-cloudformation';
const autoDeploymentProperty: cloudformation_mixins.CfnStackSetPropsMixin.AutoDeploymentProperty = {
dependsOn: ['dependsOn'],
enabled: false,
retainStacksOnAccountRemoval: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| depends | string[] | A list of StackSet ARNs that this StackSet depends on for auto-deployment operations. |
| enabled? | boolean | IResolvable | 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. |
| retain | boolean | IResolvable | If set to true , stack resources are retained when an account is removed from a target organization or OU. |
dependsOn?
Type:
string[]
(optional)
A list of StackSet ARNs that this StackSet depends on for auto-deployment operations.
When auto-deployment is triggered, operations will be sequenced to ensure all dependencies complete successfully before this StackSet's operation begins.
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 .

.NET
Go
Java
Python
TypeScript