aws.cloudformation.get_template_summary
Example SQL Queries
SELECT * FROMaws.cloudformation.get_template_summary;Description
Returns information about a new or existing template. The GetTemplateSummary action is useful for viewing parameter information, such as default parameter values and parameter types, before you create or update a stack or stack set.
You can use the GetTemplateSummary action when you submit a template, or you can get template information for a stack set, or a running or deleted stack.
For deleted stacks, GetTemplateSummary returns the template information for up to 90 days after the stack has been deleted. If the template doesn't exist, a ValidationError is returned.
Table Definition
| Column Name | Column Data Type |
|---|---|
| call_as Input Column [Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. By default, SELF is specified. Use SELF for stack sets with self-managed permissions.
| VARCHAR |
| stack_name Input Column The name or the stack ID that's associated with the stack, which aren't always interchangeable. For running stacks, you can specify either the stack's name or its unique stack ID. For deleted stack, you must specify the unique stack ID. Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL. | VARCHAR |
| stack_set_name Input Column The name or unique ID of the stack set from which the stack was created. Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL. | VARCHAR |
| template_body Input Column Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information about templates, see Template anatomy in the CloudFormation User Guide. Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL. | VARCHAR |
| template_summary_config Input Column Specifies options for the GetTemplateSummary API action. | STRUCT( |
Show child fields
| |
| template_url Input Column Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. For more information about templates, see Template anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://. Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL. | VARCHAR |
| _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 |
| capabilities The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error. For more information, see Acknowledging IAM Resources in CloudFormation Templates. | VARCHAR[] |
Show child fields
| |
| capabilities_reason The list of resources that generated the values in the Capabilities response element. | VARCHAR |
| declared_transforms A list of the transforms that are declared in the template. | VARCHAR[] |
Show child fields
| |
| description The value that's defined in the Description property of the template. | VARCHAR |
| metadata The value that's defined for the Metadata property of the template. | VARCHAR |
| parameters A list of parameter declarations that describe various properties for each parameter. | STRUCT( |
Show child fields
| |
| resource_identifier_summaries A list of resource identifier summaries that describe the target resources of an import operation and the properties you can provide during the import to identify the target resources. For example, BucketName is a possible identifier property for an AWS::S3::Bucket resource. | STRUCT( |
Show child fields
| |
| resource_types A list of all the template resource types that are defined in the template, such as AWS::EC2::Instance, AWS::Dynamo::Table, and Custom::MyCustomInstance. | VARCHAR[] |
Show child fields
| |
| version The Amazon Web Services template format version, which identifies the capabilities of the template. | VARCHAR |
| warnings An object containing any warnings returned. | STRUCT( |
Show child fields
| |