amazonka-cloudformation-2.0: Amazon CloudFormation SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CloudFormation.Types.AutoDeployment

Description

 
Synopsis

Documentation

data AutoDeployment Source #

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

See: newAutoDeployment smart constructor.

Constructors

AutoDeployment' 

Fields

  • enabled :: Maybe Bool

    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.

  • retainStacksOnAccountRemoval :: Maybe Bool

    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.

Instances

Instances details
ToQuery AutoDeployment Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.AutoDeployment

FromXML AutoDeployment Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.AutoDeployment

Generic AutoDeployment Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.AutoDeployment

Associated Types

type Rep AutoDeployment :: Type -> Type #

Read AutoDeployment Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.AutoDeployment

Show AutoDeployment Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.AutoDeployment

NFData AutoDeployment Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.AutoDeployment

Methods

rnf :: AutoDeployment -> () #

Eq AutoDeployment Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.AutoDeployment

Hashable AutoDeployment Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.AutoDeployment

type Rep AutoDeployment Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.AutoDeployment

type Rep AutoDeployment = D1 ('MetaData "AutoDeployment" "Amazonka.CloudFormation.Types.AutoDeployment" "amazonka-cloudformation-2.0-2g2oPzedi5AcwbDRlNZfB" 'False) (C1 ('MetaCons "AutoDeployment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "retainStacksOnAccountRemoval") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

newAutoDeployment :: AutoDeployment Source #

Create a value of AutoDeployment with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:enabled:AutoDeployment', autoDeployment_enabled - 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.

$sel:retainStacksOnAccountRemoval:AutoDeployment', autoDeployment_retainStacksOnAccountRemoval - 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.

autoDeployment_enabled :: Lens' AutoDeployment (Maybe Bool) Source #

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.

autoDeployment_retainStacksOnAccountRemoval :: Lens' AutoDeployment (Maybe Bool) Source #

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.