stack
Gets an individual stack
resource
Overview
Name | stack |
Type | Resource |
Description | stack |
Id | awscc.cloudformation.stack |
Fields
Name | Datatype | Description |
---|---|---|
capabilities | array | |
role_arn | string | |
outputs | array | |
description | string | |
disable_rollback | boolean | |
enable_termination_protection | boolean | |
notification_arns | array | |
parameters | object | |
parent_id | string | |
root_id | string | |
change_set_id | string | |
stack_name | string | |
stack_id | string | |
stack_policy_body | object | |
stack_policy_url | string | |
stack_status | string | |
stack_status_reason | string | |
tags | array | |
template_body | object | |
template_url | string | |
timeout_in_minutes | integer | |
last_update_time | string | |
creation_time | string | |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
capabilities,
role_arn,
outputs,
description,
disable_rollback,
enable_termination_protection,
notification_arns,
parameters,
parent_id,
root_id,
change_set_id,
stack_name,
stack_id,
stack_policy_body,
stack_policy_url,
stack_status,
stack_status_reason,
tags,
template_body,
template_url,
timeout_in_minutes,
last_update_time,
creation_time
FROM awscc.cloudformation.stack
WHERE data__Identifier = '<StackId>';
Permissions
To operate on the stack
resource, the following permissions are required:
Update
cloudformation:DescribeStacks,
cloudformation:UpdateStack,
cloudformation:UpdateTerminationProtection,
cloudformation:SetStackPolicy,
iam:PassRole
Delete
cloudformation:DescribeStacks,
cloudformation:DeleteStack
Read
cloudformation:DescribeStacks,
cloudformation:GetStackPolicy,
cloudformation:GetTemplate