aws ec2 delete-launch-template-versions
Deletes one or more versions of a launch template. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--launch-template-idThe ID of the launch template.--launch-template-nameThe name of the launch template.--versionsThe version numbers of one or more launch template versions to delete.