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 |
Synopsis
- data Stack = Stack' {
- capabilities :: Maybe [Capability]
- changeSetId :: Maybe Text
- deletionTime :: Maybe ISO8601
- description :: Maybe Text
- disableRollback :: Maybe Bool
- driftInformation :: Maybe StackDriftInformation
- enableTerminationProtection :: Maybe Bool
- lastUpdatedTime :: Maybe ISO8601
- notificationARNs :: Maybe [Text]
- outputs :: Maybe [Output]
- parameters :: Maybe [Parameter]
- parentId :: Maybe Text
- roleARN :: Maybe Text
- rollbackConfiguration :: Maybe RollbackConfiguration
- rootId :: Maybe Text
- stackId :: Maybe Text
- stackStatusReason :: Maybe Text
- tags :: Maybe [Tag]
- timeoutInMinutes :: Maybe Natural
- stackName :: Text
- creationTime :: ISO8601
- stackStatus :: StackStatus
- newStack :: Text -> UTCTime -> StackStatus -> Stack
- stack_capabilities :: Lens' Stack (Maybe [Capability])
- stack_changeSetId :: Lens' Stack (Maybe Text)
- stack_deletionTime :: Lens' Stack (Maybe UTCTime)
- stack_description :: Lens' Stack (Maybe Text)
- stack_disableRollback :: Lens' Stack (Maybe Bool)
- stack_driftInformation :: Lens' Stack (Maybe StackDriftInformation)
- stack_enableTerminationProtection :: Lens' Stack (Maybe Bool)
- stack_lastUpdatedTime :: Lens' Stack (Maybe UTCTime)
- stack_notificationARNs :: Lens' Stack (Maybe [Text])
- stack_outputs :: Lens' Stack (Maybe [Output])
- stack_parameters :: Lens' Stack (Maybe [Parameter])
- stack_parentId :: Lens' Stack (Maybe Text)
- stack_roleARN :: Lens' Stack (Maybe Text)
- stack_rollbackConfiguration :: Lens' Stack (Maybe RollbackConfiguration)
- stack_rootId :: Lens' Stack (Maybe Text)
- stack_stackId :: Lens' Stack (Maybe Text)
- stack_stackStatusReason :: Lens' Stack (Maybe Text)
- stack_tags :: Lens' Stack (Maybe [Tag])
- stack_timeoutInMinutes :: Lens' Stack (Maybe Natural)
- 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:capabilities:Stack'
, stack_capabilities
- The capabilities allowed in the stack.
$sel:changeSetId:Stack'
, stack_changeSetId
- The unique ID of the change set.
$sel:deletionTime:Stack'
, stack_deletionTime
- The time the stack was deleted.
Stack
, stack_description
- A user-defined description associated with the stack.
$sel:disableRollback:Stack'
, stack_disableRollback
- Boolean to enable or disable rollback on stack creation failures:
true
: disable rollback.false
: enable rollback.
$sel:driftInformation:Stack'
, stack_driftInformation
- Information about 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:enableTerminationProtection:Stack'
, stack_enableTerminationProtection
- Whether termination protection is enabled for the stack.
For nested stacks, termination protection is set on the root stack and can't be changed directly on the nested stack. For more information, see Protecting a Stack From Being Deleted in the CloudFormation User Guide.
$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:notificationARNs:Stack'
, stack_notificationARNs
- Amazon SNS topic Amazon Resource Names (ARNs) to which stack related
events are published.
$sel:outputs:Stack'
, stack_outputs
- A list of output structures.
$sel:parameters:Stack'
, stack_parameters
- A list of Parameter
structures.
$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's associated with the stack. During a stack operation,
CloudFormation uses this role's credentials to make calls on your
behalf.
$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: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:stackId:Stack'
, stack_stackId
- Unique identifier of the stack.
$sel:stackStatusReason:Stack'
, stack_stackStatusReason
- Success/failure message associated with the stack status.
$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: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_capabilities :: Lens' Stack (Maybe [Capability]) Source #
The capabilities allowed in the stack.
stack_description :: Lens' Stack (Maybe Text) Source #
A user-defined description associated with the stack.
stack_disableRollback :: Lens' Stack (Maybe Bool) Source #
Boolean to enable or disable rollback on stack creation failures:
true
: disable rollback.false
: enable rollback.
stack_driftInformation :: Lens' Stack (Maybe StackDriftInformation) Source #
Information about 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_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 can't be changed directly on the nested stack. For more information, see Protecting a Stack From Being Deleted in the CloudFormation User Guide.
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_notificationARNs :: Lens' Stack (Maybe [Text]) Source #
Amazon SNS topic Amazon Resource Names (ARNs) to which stack related events are published.
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's associated with the stack. During a stack operation, CloudFormation uses this role's credentials to make calls on your behalf.
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_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_stackStatusReason :: Lens' Stack (Maybe Text) Source #
Success/failure message associated with the stack status.
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_stackStatus :: Lens' Stack StackStatus Source #
Current status of the stack.