Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Stack = Stack' {
- disableRollback :: Maybe Bool
- lastUpdatedTime :: Maybe ISO8601
- rootId :: Maybe Text
- notificationARNs :: Maybe [Text]
- stackStatusReason :: Maybe Text
- enableTerminationProtection :: Maybe Bool
- driftInformation :: Maybe StackDriftInformation
- changeSetId :: Maybe Text
- deletionTime :: Maybe ISO8601
- outputs :: Maybe [Output]
- parameters :: Maybe [Parameter]
- stackId :: Maybe Text
- description :: Maybe Text
- capabilities :: Maybe [Capability]
- rollbackConfiguration :: Maybe RollbackConfiguration
- tags :: Maybe [Tag]
- timeoutInMinutes :: Maybe Natural
- parentId :: Maybe Text
- roleARN :: Maybe Text
- stackName :: Text
- creationTime :: ISO8601
- stackStatus :: StackStatus
- newStack :: Text -> UTCTime -> StackStatus -> Stack
- stack_disableRollback :: Lens' Stack (Maybe Bool)
- stack_lastUpdatedTime :: Lens' Stack (Maybe UTCTime)
- stack_rootId :: Lens' Stack (Maybe Text)
- stack_notificationARNs :: Lens' Stack (Maybe [Text])
- stack_stackStatusReason :: Lens' Stack (Maybe Text)
- stack_enableTerminationProtection :: Lens' Stack (Maybe Bool)
- stack_driftInformation :: Lens' Stack (Maybe StackDriftInformation)
- stack_changeSetId :: Lens' Stack (Maybe Text)
- stack_deletionTime :: Lens' Stack (Maybe UTCTime)
- stack_outputs :: Lens' Stack (Maybe [Output])
- stack_parameters :: Lens' Stack (Maybe [Parameter])
- stack_stackId :: Lens' Stack (Maybe Text)
- stack_description :: Lens' Stack (Maybe Text)
- stack_capabilities :: Lens' Stack (Maybe [Capability])
- stack_rollbackConfiguration :: Lens' Stack (Maybe RollbackConfiguration)
- stack_tags :: Lens' Stack (Maybe [Tag])
- stack_timeoutInMinutes :: Lens' Stack (Maybe Natural)
- stack_parentId :: Lens' Stack (Maybe Text)
- stack_roleARN :: Lens' Stack (Maybe Text)
- stack_stackName :: Lens' Stack Text
- stack_creationTime :: Lens' Stack UTCTime
- stack_stackStatus :: Lens' Stack StackStatus
Documentation
The Stack data type.
See: newStack
smart constructor.
Stack' | |
|
Instances
:: Text | |
-> UTCTime | |
-> StackStatus | |
-> Stack |
Create a value of Stack
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:disableRollback:Stack'
, stack_disableRollback
- Boolean to enable or disable rollback on stack creation failures:
true
: disable rollbackfalse
: enable rollback
$sel:lastUpdatedTime:Stack'
, stack_lastUpdatedTime
- The time the stack was last updated. This field will only be returned if
the stack has been updated at least once.
$sel:rootId:Stack'
, stack_rootId
- For nested stacks--stacks created as resources for another stack--the
stack ID of the top-level stack to which the nested stack ultimately
belongs.
For more information, see Working with Nested Stacks in the CloudFormation User Guide.
$sel:notificationARNs:Stack'
, stack_notificationARNs
- SNS topic ARNs to which stack related events are published.
$sel:stackStatusReason:Stack'
, stack_stackStatusReason
- Success/failure message associated with the stack status.
$sel:enableTerminationProtection:Stack'
, stack_enableTerminationProtection
- Whether termination protection is enabled for the stack.
For nested stacks, termination protection is set on the root stack and cannot be changed directly on the nested stack. For more information, see Protecting a Stack From Being Deleted in the CloudFormation User Guide.
$sel:driftInformation:Stack'
, stack_driftInformation
- Information on whether a stack's actual configuration differs, or has
drifted, from it's expected configuration, as defined in the stack
template and any values specified as template parameters. For more
information, see
Detecting Unregulated Configuration Changes to Stacks and Resources.
$sel:changeSetId:Stack'
, stack_changeSetId
- The unique ID of the change set.
$sel:deletionTime:Stack'
, stack_deletionTime
- The time the stack was deleted.
$sel:outputs:Stack'
, stack_outputs
- A list of output structures.
$sel:parameters:Stack'
, stack_parameters
- A list of Parameter
structures.
$sel:stackId:Stack'
, stack_stackId
- Unique identifier of the stack.
$sel:description:Stack'
, stack_description
- A user-defined description associated with the stack.
$sel:capabilities:Stack'
, stack_capabilities
- The capabilities allowed in the stack.
$sel:rollbackConfiguration:Stack'
, stack_rollbackConfiguration
- The rollback triggers for CloudFormation to monitor during stack
creation and updating operations, and for the specified monitoring
period afterwards.
$sel:tags:Stack'
, stack_tags
- A list of Tag
s that specify information about the stack.
$sel:timeoutInMinutes:Stack'
, stack_timeoutInMinutes
- The amount of time within which stack creation should complete.
$sel:parentId:Stack'
, stack_parentId
- For nested stacks--stacks created as resources for another stack--the
stack ID of the direct parent of this stack. For the first level of
nested stacks, the root stack is also the parent stack.
For more information, see Working with Nested Stacks in the CloudFormation User Guide.
$sel:roleARN:Stack'
, stack_roleARN
- The Amazon Resource Name (ARN) of an Identity and Access Management
(IAM) role that is associated with the stack. During a stack operation,
CloudFormation uses this role's credentials to make calls on your
behalf.
$sel:stackName:Stack'
, stack_stackName
- The name associated with the stack.
$sel:creationTime:Stack'
, stack_creationTime
- The time at which the stack was created.
$sel:stackStatus:Stack'
, stack_stackStatus
- Current status of the stack.
stack_disableRollback :: Lens' Stack (Maybe Bool) Source #
Boolean to enable or disable rollback on stack creation failures:
true
: disable rollbackfalse
: enable rollback
stack_lastUpdatedTime :: Lens' Stack (Maybe UTCTime) Source #
The time the stack was last updated. This field will only be returned if the stack has been updated at least once.
stack_rootId :: Lens' Stack (Maybe Text) Source #
For nested stacks--stacks created as resources for another stack--the stack ID of the top-level stack to which the nested stack ultimately belongs.
For more information, see Working with Nested Stacks in the CloudFormation User Guide.
stack_notificationARNs :: Lens' Stack (Maybe [Text]) Source #
SNS topic ARNs to which stack related events are published.
stack_stackStatusReason :: Lens' Stack (Maybe Text) Source #
Success/failure message associated with the stack status.
stack_enableTerminationProtection :: Lens' Stack (Maybe Bool) Source #
Whether termination protection is enabled for the stack.
For nested stacks, termination protection is set on the root stack and cannot be changed directly on the nested stack. For more information, see Protecting a Stack From Being Deleted in the CloudFormation User Guide.
stack_driftInformation :: Lens' Stack (Maybe StackDriftInformation) Source #
Information on whether a stack's actual configuration differs, or has drifted, from it's expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.
stack_description :: Lens' Stack (Maybe Text) Source #
A user-defined description associated with the stack.
stack_capabilities :: Lens' Stack (Maybe [Capability]) Source #
The capabilities allowed in the stack.
stack_rollbackConfiguration :: Lens' Stack (Maybe RollbackConfiguration) Source #
The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.
stack_tags :: Lens' Stack (Maybe [Tag]) Source #
A list of Tag
s that specify information about the stack.
stack_timeoutInMinutes :: Lens' Stack (Maybe Natural) Source #
The amount of time within which stack creation should complete.
stack_parentId :: Lens' Stack (Maybe Text) Source #
For nested stacks--stacks created as resources for another stack--the stack ID of the direct parent of this stack. For the first level of nested stacks, the root stack is also the parent stack.
For more information, see Working with Nested Stacks in the CloudFormation User Guide.
stack_roleARN :: Lens' Stack (Maybe Text) Source #
The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that is associated with the stack. During a stack operation, CloudFormation uses this role's credentials to make calls on your behalf.
stack_stackStatus :: Lens' Stack StackStatus Source #
Current status of the stack.