Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ModifyLaunchTemplateCommand

Modifies a launch template. You can specify which version of the launch template to set as the default version. When launching an instance, the default version applies when a launch template version is not specified.

example

Use a bare-bones client and the command you need to make an API call.

import { EC2Client, ModifyLaunchTemplateCommand } from "@aws-sdk/client-ec2"; // ES Modules import
// const { EC2Client, ModifyLaunchTemplateCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
const client = new EC2Client(config);
const command = new ModifyLaunchTemplateCommand(input);
const response = await client.send(command);
see

ModifyLaunchTemplateCommandInput for command's input shape.

see

ModifyLaunchTemplateCommandOutput for command's response shape.

see

config for EC2Client's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: ModifyLaunchTemplateCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions