Skip to main content

launch_template

Gets an individual launch_template resource

Overview

Namelaunch_template
TypeResource
Descriptionlaunch_template
Idawscc.ec2.launch_template

Fields

NameDatatypeDescription
launch_template_namestringA name for the launch template.
launch_template_dataobjectThe information for the launch template.
version_descriptionstringA description for the first version of the launch template.
tag_specificationsarrayThe 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_numberstring
launch_template_idstring
default_version_numberstring
regionstringAWS 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