Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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.
AutoDeployment' | |
|
Instances
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
.