launch_template
Gets an individual launch_template
resource
Overview
Name | launch_template |
Type | Resource |
Description | launch_template |
Id | awscc.ec2.launch_template |
Fields
Name | Datatype | Description |
---|---|---|
launch_template_name | string | A name for the launch template. |
launch_template_data | object | The information for the launch template. |
version_description | string | A description for the first version of the launch template. |
tag_specifications | array | The tags to apply to the launch template on creation. To tag the launch template, the resource type must be ``launch-template``.<br/> To specify the tags for the resources that are created when an instance is launched, you must use [TagSpecifications](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html#cfn-ec2-launchtemplate-tagspecifications). |
latest_version_number | string | |
launch_template_id | string | |
default_version_number | string | |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
launch_template_name,
launch_template_data,
version_description,
tag_specifications,
latest_version_number,
launch_template_id,
default_version_number
FROM awscc.ec2.launch_template
WHERE data__Identifier = '<LaunchTemplateId>';
Permissions
To operate on the launch_template
resource, the following permissions are required:
Read
ec2:DescribeLaunchTemplates
Update
ec2:CreateLaunchTemplateVersion
Delete
ec2:DeleteLaunchTemplate,
ec2:DeleteTags,
ec2:DescribeLaunchTemplates