Stack

class Stack

The Stack data type.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The capabilities allowed in the stack.

Link copied to clipboard

The unique ID of the change set.

Link copied to clipboard

The time at which the stack was created.

Link copied to clipboard

Specifies the deletion mode for the stack. Possible values are:

Link copied to clipboard

The time the stack was deleted.

Link copied to clipboard

A user-defined description associated with the stack.

Link copied to clipboard

The detailed status of the resource or stack. If CONFIGURATION_COMPLETE is present, the resource or resource configuration phase has completed and the stabilization of the resources is in progress. The stack sets CONFIGURATION_COMPLETE when all of the resources in the stack have reached that event. For more information, see Understand CloudFormation stack creation events in the CloudFormation User Guide.

Link copied to clipboard

Boolean to enable or disable rollback on stack creation failures:

Link copied to clipboard

Information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection.

Link copied to clipboard

Whether termination protection is enabled for the stack.

Link copied to clipboard

The time the stack was last updated. This field will only be returned if the stack has been updated at least once.

Link copied to clipboard

Amazon SNS topic Amazon Resource Names (ARNs) to which stack related events are published.

Link copied to clipboard

A list of output structures.

Link copied to clipboard

A list of Parameter structures.

Link copied to clipboard

For nested stacks, 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.

Link copied to clipboard

When set to true, newly created resources are deleted when the operation rolls back. This includes newly created resources marked with a deletion policy of Retain.

Link copied to clipboard

The Amazon Resource Name (ARN) of an IAM role that's associated with the stack. During a stack operation, CloudFormation uses this role's credentials to make calls on your behalf.

Link copied to clipboard

The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.

Link copied to clipboard

For nested stacks, the stack ID of the top-level stack to which the nested stack ultimately belongs.

Link copied to clipboard

Unique identifier of the stack.

Link copied to clipboard

The name associated with the stack.

Link copied to clipboard

Current status of the stack.

Link copied to clipboard

Success/failure message associated with the stack status.

Link copied to clipboard
val tags: List<Tag>?

A list of Tags that specify information about the stack.

Link copied to clipboard

The amount of time within which stack creation should complete.

Functions

Link copied to clipboard
inline fun copy(block: Stack.Builder.() -> Unit = {}): Stack
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String