ec2_create_launch_template_version: Creates a new version of a launch template

View source: R/ec2_operations.R

ec2_create_launch_template_versionR Documentation

Creates a new version of a launch template

Description

Creates a new version of a launch template. You can specify an existing version of launch template from which to base the new version.

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

Usage

ec2_create_launch_template_version(
  DryRun = NULL,
  ClientToken = NULL,
  LaunchTemplateId = NULL,
  LaunchTemplateName = NULL,
  SourceVersion = NULL,
  VersionDescription = NULL,
  LaunchTemplateData,
  ResolveAlias = 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 the LaunchTemplateName or the LaunchTemplateId, but not both.

SourceVersion

The version number of the launch template version on which to base the new version. The new version inherits the same launch parameters as the source version, except for parameters that you specify in LaunchTemplateData. Snapshots applied to the block device mapping are ignored when creating a new version unless they are explicitly included.

VersionDescription

A description for the version of the launch template.

LaunchTemplateData

[required] The information for the launch template.

ResolveAlias

If true, and if a Systems Manager parameter is specified for ImageId, the AMI ID is displayed in the response for imageID. For more information, see Use a Systems Manager parameter instead of an AMI ID in the Amazon Elastic Compute Cloud User Guide.

Default: false


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