CloudFormation Stack

An AWS CloudFormation Stack is a collection of AWS resources that you can manage as a single unit. It allows you to create, update, and delete groups of resources together using templates written in JSON or YAML. Stacks simplify infrastructure management by enabling consistent, repeatable deployments and reducing manual configuration.

aws.cloudformation_stack

Fields

TitleIDTypeData TypeDescription
_keycorestring
account_idcorestring
capabilitiescorearray<string>The capabilities allowed in the stack.
change_set_idcorestringThe unique ID of the change set.
creation_timecoretimestampThe time at which the stack was created.
deletion_modecorestringSpecifies the deletion mode for the stack. Possible values are: STANDARD - Use the standard behavior. Specifying this value is the same as not specifying this parameter. FORCE_DELETE_STACK - Delete the stack if it's stuck in a DELETE_FAILED state due to resource deletion failure.
deletion_timecoretimestampThe time the stack was deleted.
descriptioncorestringA user-defined description associated with the stack.
detailed_statuscorestringThe 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.
disable_rollbackcoreboolBoolean to enable or disable rollback on stack creation failures: true: disable rollback. false: enable rollback.
drift_informationcorejsonInformation 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.
enable_termination_protectioncoreboolWhether 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 Protect a CloudFormation stack from being deleted in the CloudFormation User Guide.
last_updated_timecoretimestampThe time the stack was last updated. This field will only be returned if the stack has been updated at least once.
notification_arnscorearray<string>Amazon SNS topic Amazon Resource Names (ARNs) to which stack related events are published.
outputscorejsonA list of output structures.
parameterscorejsonA list of Parameter structures.
parent_idcorestringFor 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 Embed stacks within other stacks using nested stacks in the CloudFormation User Guide.
retain_except_on_createcoreboolWhen 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. Default: false
role_arncorestringThe 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.
rollback_configurationcorejsonThe rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.
root_idcorestringFor 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 Embed stacks within other stacks using nested stacks in the CloudFormation User Guide.
stack_idcorestringUnique identifier of the stack.
stack_namecorestringThe name associated with the stack.
stack_statuscorestringCurrent status of the stack.
stack_status_reasoncorestringSuccess/failure message associated with the stack status.
tagscorehstore
timeout_in_minutescoreint64The amount of time within which stack creation should complete.