Creates a new version of a launch template. You can specify an existing version of
launch template from which to base the new version.
Launch template versions are numbered in the order in which they are created. You
cannot specify, change, or replace the numbering of launch template versions.
Launch templates are immutable; after you create a launch template, you can't modify
it. Instead, you can create a new version of the launch template that includes any
changes you require.
Creates a new version of a launch template. You can specify an existing version of launch template from which to base the new version.
Launch template versions are numbered in the order in which they are created. You cannot specify, change, or replace the numbering of launch template versions.
Launch templates are immutable; after you create a launch template, you can't modify it. Instead, you can create a new version of the launch template that includes any changes you require.
For more information, see Modify a launch template (manage launch template versions) in the Amazon Elastic Compute Cloud User Guide.
Use a bare-bones client and the command you need to make an API call.
import { EC2Client, CreateLaunchTemplateVersionCommand } from "@aws-sdk/client-ec2"; // ES Modules import // const { EC2Client, CreateLaunchTemplateVersionCommand } = require("@aws-sdk/client-ec2"); // CommonJS import const client = new EC2Client(config); const command = new CreateLaunchTemplateVersionCommand(input); const response = await client.send(command);
CreateLaunchTemplateVersionCommandInput for command's
input
shape.CreateLaunchTemplateVersionCommandOutput for command's
response
shape.config for EC2Client's
config
shape.