Class CfnStackSet.AutoDeploymentProperty
Describes whether StackSets automatically deploys to AWS Organizations accounts that are added to a target organization or organizational unit (OU).
Implements
Inherited Members
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnStackSet.AutoDeploymentProperty : CfnStackSet.IAutoDeploymentProperty
Syntax (vb)
Public Class CfnStackSet.AutoDeploymentProperty Implements CfnStackSet.IAutoDeploymentProperty
Remarks
For more information, see Enable or disable automatic deployments for StackSets in AWS Organizations in the AWS CloudFormation User Guide .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
var autoDeploymentProperty = new AutoDeploymentProperty {
Enabled = false,
RetainStacksOnAccountRemoval = false
};
Synopsis
Constructors
AutoDeploymentProperty() | Describes whether StackSets automatically deploys to AWS Organizations accounts that are added to a target organization or organizational unit (OU). |
Properties
Enabled | If set to |
RetainStacksOnAccountRemoval | If set to |
Constructors
AutoDeploymentProperty()
Describes whether StackSets automatically deploys to AWS Organizations accounts that are added to a target organization or organizational unit (OU).
public AutoDeploymentProperty()
Remarks
For more information, see Enable or disable automatic deployments for StackSets in AWS Organizations in the AWS CloudFormation User Guide .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
var autoDeploymentProperty = new AutoDeploymentProperty {
Enabled = false,
RetainStacksOnAccountRemoval = false
};
Properties
Enabled
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.
public object? Enabled { get; set; }
Property Value
Remarks
If an account is removed from a target organization or OU, StackSets deletes stack instances from the account in the specified Regions.
RetainStacksOnAccountRemoval
If set to true
, stack resources are retained when an account is removed from a target organization or OU.
public object? RetainStacksOnAccountRemoval { get; set; }
Property Value
Remarks
If set to false
, stack resources are deleted. Specify only if Enabled
is set to True
.