Learn R Programming

paws.compute (version 0.7.0)

ec2_modify_launch_template: Modifies a launch template

Description

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.

See https://www.paws-r-sdk.com/docs/ec2_modify_launch_template/ for full documentation.

Usage

ec2_modify_launch_template(
  DryRun = NULL,
  ClientToken = NULL,
  LaunchTemplateId = NULL,
  LaunchTemplateName = NULL,
  DefaultVersion = NULL
)

Arguments

DryRun

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

ClientToken

Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.

Constraint: Maximum 128 ASCII characters.

LaunchTemplateId

The ID of the launch template.

You must specify either the launch template ID or the launch template name, but not both.

LaunchTemplateName

The name of the launch template.

You must specify either the launch template ID or the launch template name, but not both.

DefaultVersion

The version number of the launch template to set as the default version.