# StackSetOrganizationsAutoDeployment

Describes whether AWS CloudFormation StackSets automatically deploys to AWS Organizations accounts that are added to a target organization or organizational unit (OU).

- Source: [`aws-codepipeline-actions/lib/cloudformation/stackset-types.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-codepipeline-actions/lib/cloudformation/stackset-types.ts#L453)
- Type last changed: v2.13.0 · 19 Feb 2022

## Members

| Member | Description |
| --- | --- |
| `ENABLED` | 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. |
| `DISABLED` | StackSets does not automatically deploy additional stack instances to AWS Organizations accounts that are added to a target organization or organizational unit (OU) in the specified Regions. |
| `ENABLED_WITH_STACK_RETENTION` | Stack resources are retained when an account is removed from a target organization or OU. |

## Referenced by

- [`OrganizationsDeploymentProps`](/v2/docs/aws-cdk-lib.aws_codepipeline_actions.OrganizationsDeploymentProps).autoDeployment
