aws.cloudformation.list_stacks
Example SQL Queries
SELECT * FROMaws.cloudformation.list_stacks;Description
Returns the summary information for stacks whose status matches the specified StackStatusFilter. Summary information for stacks that have been deleted is kept for 90 days after the stack is deleted. If no StackStatusFilter is specified, summary information for all stacks is returned (including existing stacks and stacks that have been deleted).
Table Definition
| Column Name | Column Data Type |
|---|---|
| stack_status_filter Input Column Stack status to use as a filter. Specify one or more stack status codes to list only stacks with the specified status codes. For a complete list of stack status codes, see the StackStatus parameter of the Stack data type. | VARCHAR[] |
Show child fields
| |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| creation_time The time the stack was created. | TIMESTAMP_S |
| deletion_time The time the stack was deleted. | TIMESTAMP_S |
| drift_information Summarizes 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 Detecting Unregulated Configuration Changes to Stacks and Resources. | STRUCT( |
Show child fields
| |
| last_updated_time The time the stack was last updated. This field will only be returned if the stack has been updated at least once. | TIMESTAMP_S |
| parent_id 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. | VARCHAR |
| root_id 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. | VARCHAR |
| stack_id Unique stack identifier. | VARCHAR |
| stack_name The name associated with the stack. | VARCHAR |
| stack_status The current status of the stack. | VARCHAR |
| stack_status_reason Success/Failure message associated with the stack status. | VARCHAR |
| template_description The template description of the template used to create the stack. | VARCHAR |