# Source: https://docs.datadoghq.com/ddsql_reference/data_directory/aws/aws.cloudformation_stack.dataset.md

---
title: CloudFormation Stack
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > DDSQL Reference > Data Directory > CloudFormation Stack
---

# 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

| Title                         | ID   | Type          | Data Type                                                                                                                                                                                                                                                                                                                                                                                                              | Description |
| ----------------------------- | ---- | ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| _key                          | core | string        |
| account_id                    | core | string        |
| capabilities                  | core | array<string> | The capabilities allowed in the stack.                                                                                                                                                                                                                                                                                                                                                                                 |
| change_set_id                 | core | string        | The unique ID of the change set.                                                                                                                                                                                                                                                                                                                                                                                       |
| creation_time                 | core | timestamp     | The time at which the stack was created.                                                                                                                                                                                                                                                                                                                                                                               |
| deletion_mode                 | core | string        | Specifies 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_time                 | core | timestamp     | The time the stack was deleted.                                                                                                                                                                                                                                                                                                                                                                                        |
| description                   | core | string        | A user-defined description associated with the stack.                                                                                                                                                                                                                                                                                                                                                                  |
| detailed_status               | core | string        | 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 StackSets 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_rollback              | core | bool          | Boolean to enable or disable rollback on stack creation failures: true: disable rollback. false: enable rollback.                                                                                                                                                                                                                                                                                                      |
| drift_information             | core | json          | 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.                                                                                                    |
| enable_termination_protection | core | bool          | 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 Protect a CloudFormation stack from being deleted in the CloudFormation User Guide.                                                                                                                           |
| last_updated_time             | core | timestamp     | The time the stack was last updated. This field will only be returned if the stack has been updated at least once.                                                                                                                                                                                                                                                                                                     |
| notification_arns             | core | array<string> | Amazon SNS topic Amazon Resource Names (ARNs) to which stack related events are published.                                                                                                                                                                                                                                                                                                                             |
| outputs                       | core | json          | A list of output structures.                                                                                                                                                                                                                                                                                                                                                                                           |
| parameters                    | core | json          | A list of Parameter structures.                                                                                                                                                                                                                                                                                                                                                                                        |
| parent_id                     | core | string        | 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. For more information, see Nested stacks in the CloudFormation User Guide.                                                                                                                                                                                           |
| retain_except_on_create       | core | bool          | 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. Default: false                                                                                                                                                                                                                                     |
| role_arn                      | core | string        | 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.                                                                                                                                                                                                                                    |
| rollback_configuration        | core | json          | The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.                                                                                                                                                                                                                                                                 |
| root_id                       | core | string        | For nested stacks, the stack ID of the top-level stack to which the nested stack ultimately belongs. For more information, see Nested stacks in the CloudFormation User Guide.                                                                                                                                                                                                                                         |
| stack_id                      | core | string        | Unique identifier of the stack.                                                                                                                                                                                                                                                                                                                                                                                        |
| stack_name                    | core | string        | The name associated with the stack.                                                                                                                                                                                                                                                                                                                                                                                    |
| stack_status                  | core | string        | Current status of the stack.                                                                                                                                                                                                                                                                                                                                                                                           |
| stack_status_reason           | core | string        | Success/failure message associated with the stack status.                                                                                                                                                                                                                                                                                                                                                              |
| tags                          | core | hstore_csv    |
| timeout_in_minutes            | core | int64         | The amount of time within which stack creation should complete.                                                                                                                                                                                                                                                                                                                                                        |