ec2_modify_launch_template: Modifies a launch template

View source: R/ec2_operations.R

ec2_modify_launch_templateR Documentation

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 LaunchTemplateId or the LaunchTemplateName, but not both.

LaunchTemplateName

The name of the launch template.

You must specify either the LaunchTemplateName or the LaunchTemplateId, but not both.

DefaultVersion

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


paws.compute documentation built on Sept. 12, 2023, 1:28 a.m.