DescribeLaunchTemplateVersions
In this article:
DescribeLaunchTemplateVersions#
Description#
Request for information about one or more versions of a launch template. You can request description for all versions, specific versions, or a range of versions. You can also request description for all the latest versions or all the default versions of all the launch templates.
Request Parameters#
Required parameters#
- LaunchTemplateId — The ID of the launch template. - Type: String 
- Required: Yes, if LaunchTemplateName is not supplied 
 
- LaunchTemplateName — The name of the launch template. - Type: String 
- Required: Yes, if LaunchTemplateId is not supplied 
- Length constraints: from 3 to 255 characters 
 
- LaunchTemplateVersion.N — The version numbers of one or more versions of the launch template. - Type: Array of strings 
- Required: Yes 
 
Optional parameters#
- Filter.N — One or more filters. - Type: Filter object 
- Required: No 
 
- MaxVersion — The version number corresponding to the upper limit of version range for which the description is requested. - Type: String 
- Required: No 
 
- MinVersion — The version number corresponding to the lower limit of version range for which the description is requested. - Type: String 
- Required: No 
 
Supported Filters#
- create-time — The time at which the launch template was created. 
- image-id — The image ID. 
- instance-type — The type of the instance 
- is-default-version — Indicates whether it is the default version of the launch template. 
Response Elements#
- launchTemplateVersionSet — Information about the versions of the launch template. - Type: List of LaunchTemplateVersion objects 
 
- requestId — The request ID - Type: String 
 
Examples#
c2-ec2 DescribeLaunchTemplateVersions LaunchTemplateName test