DeleteLaunchTemplate
In this article:
DeleteLaunchTemplate#
Description#
Request to delete a launch template. When you delete a launch template, all its versions are also deleted.
Request 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
Response Elements#
launchTemplate — Information about the launch template.
Type: LaunchTemplate object
requestId — The request ID.
Type: String
Examples#
c2-ec2 DeleteLaunchTemplate LaunchTemplateId lt-12345678