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.Stack

Description

 
Synopsis

Documentation

data Stack Source #

The Stack data type.

See: newStack smart constructor.

Constructors

Stack' 

Fields

Instances

Instances details
FromXML Stack Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.Stack

Methods

parseXML :: [Node] -> Either String Stack #

Generic Stack Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.Stack

Associated Types

type Rep Stack :: Type -> Type #

Methods

from :: Stack -> Rep Stack x #

to :: Rep Stack x -> Stack #

Read Stack Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.Stack

Show Stack Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.Stack

Methods

showsPrec :: Int -> Stack -> ShowS #

show :: Stack -> String #

showList :: [Stack] -> ShowS #

NFData Stack Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.Stack

Methods

rnf :: Stack -> () #

Eq Stack Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.Stack

Methods

(==) :: Stack -> Stack -> Bool #

(/=) :: Stack -> Stack -> Bool #

Hashable Stack Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.Stack

Methods

hashWithSalt :: Int -> Stack -> Int #

hash :: Stack -> Int #

type Rep Stack Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.Stack

type Rep Stack = D1 ('MetaData "Stack" "Amazonka.CloudFormation.Types.Stack" "amazonka-cloudformation-2.0-2g2oPzedi5AcwbDRlNZfB" 'False) (C1 ('MetaCons "Stack'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "capabilities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Capability])) :*: S1 ('MetaSel ('Just "changeSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "deletionTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "disableRollback") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 ('MetaSel ('Just "driftInformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StackDriftInformation)) :*: (S1 ('MetaSel ('Just "enableTerminationProtection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "lastUpdatedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)))) :*: (S1 ('MetaSel ('Just "notificationARNs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "outputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Output])) :*: S1 ('MetaSel ('Just "parameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Parameter])))))) :*: (((S1 ('MetaSel ('Just "parentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "roleARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "rollbackConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RollbackConfiguration)) :*: (S1 ('MetaSel ('Just "rootId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "stackId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "stackStatusReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "timeoutInMinutes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))) :*: (S1 ('MetaSel ('Just "stackName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "stackStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 StackStatus)))))))

newStack Source #

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 Tags 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_changeSetId :: Lens' Stack (Maybe Text) Source #

The unique ID of the change set.

stack_deletionTime :: Lens' Stack (Maybe UTCTime) Source #

The time the stack was deleted.

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_outputs :: Lens' Stack (Maybe [Output]) Source #

A list of output structures.

stack_parameters :: Lens' Stack (Maybe [Parameter]) Source #

A list of Parameter structures.

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_stackId :: Lens' Stack (Maybe Text) Source #

Unique identifier of the stack.

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 Tags that specify information about the stack.

stack_timeoutInMinutes :: Lens' Stack (Maybe Natural) Source #

The amount of time within which stack creation should complete.

stack_stackName :: Lens' Stack Text Source #

The name associated with the stack.

stack_creationTime :: Lens' Stack UTCTime Source #

The time at which the stack was created.

stack_stackStatus :: Lens' Stack StackStatus Source #

Current status of the stack.