libZSservicesZSamazonka-cloudformationZSamazonka-cloudformation
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudFormation.Types.Stack

Description

 
Synopsis

Documentation

data Stack Source #

The Stack data type.

See: newStack smart constructor.

Constructors

Stack' 

Fields

Instances

Instances details
Eq Stack Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.Stack

Methods

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

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

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 #

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 #

NFData Stack Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.Stack

Methods

rnf :: Stack -> () #

Hashable Stack Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.Stack

Methods

hashWithSalt :: Int -> Stack -> Int #

hash :: Stack -> Int #

FromXML Stack Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.Stack

Methods

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

type Rep Stack Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.Stack

type Rep Stack = D1 ('MetaData "Stack" "Amazonka.CloudFormation.Types.Stack" "libZSservicesZSamazonka-cloudformationZSamazonka-cloudformation" 'False) (C1 ('MetaCons "Stack'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "disableRollback") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "lastUpdatedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601))) :*: (S1 ('MetaSel ('Just "rootId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "notificationARNs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "stackStatusReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "enableTerminationProtection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "driftInformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StackDriftInformation)) :*: S1 ('MetaSel ('Just "changeSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "deletionTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 ('MetaSel ('Just "outputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Output])) :*: S1 ('MetaSel ('Just "parameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Parameter])))))) :*: (((S1 ('MetaSel ('Just "stackId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "capabilities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Capability])) :*: (S1 ('MetaSel ('Just "rollbackConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RollbackConfiguration)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag]))))) :*: ((S1 ('MetaSel ('Just "timeoutInMinutes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "parentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "roleARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (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:disableRollback:Stack', stack_disableRollback - Boolean to enable or disable rollback on stack creation failures:

  • true: disable rollback
  • false: 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 Tags 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 rollback
  • false: 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_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_outputs :: Lens' Stack (Maybe [Output]) Source #

A list of output structures.

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

A list of Parameter structures.

stack_stackId :: Lens' Stack (Maybe Text) Source #

Unique identifier of the stack.

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