Skip to content

AutoDeployment

Source code in docs_src/capo_cloudformation/types/auto_deployment.py
class AutoDeployment(TypedDict, closed=True):
    enabled: NotRequired[
        "capo_cloudformation.types.auto_deployment_nullable.AutoDeploymentNullable"
    ]
    """<p>If set to <code>true</code>, StackSets automatically deploys additional stack instances to 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.</p>"""
    retain_stacks_on_account_removal: NotRequired[
        "capo_cloudformation.types.retain_stacks_on_account_removal_nullable.RetainStacksOnAccountRemovalNullable"
    ]
    """<p>If set to <code>true</code>, stack resources are retained when an account is removed from a target organization or OU. If set to <code>false</code>, stack resources are deleted. Specify only if <code>Enabled</code> is set to <code>True</code>.</p>"""
    depends_on: NotRequired[
        "capo_cloudformation.types.stack_set_arn_list.StackSetARNList"
    ]
    """<p>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.</p>"""

depends_on instance-attribute

depends_on: NotRequired[StackSetARNList]

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 instance-attribute

enabled: NotRequired[AutoDeploymentNullable]

If set to true, StackSets automatically deploys additional stack instances to 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.

retain_stacks_on_account_removal instance-attribute

retain_stacks_on_account_removal: NotRequired[RetainStacksOnAccountRemovalNullable]

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.