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.
ec2_create_launch_template_version(
DryRun = NULL,
ClientToken = NULL,
LaunchTemplateId = NULL,
LaunchTemplateName = NULL,
SourceVersion = NULL,
VersionDescription = NULL,
LaunchTemplateData,
ResolveAlias = NULL
)
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
.
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
Constraint: Maximum 128 ASCII characters.
The ID of the launch template.
You must specify either the LaunchTemplateId
or the
LaunchTemplateName
, but not both.
The name of the launch template.
You must specify the LaunchTemplateName
or the LaunchTemplateId
, but
not both.
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.
A description for the version of the launch template.
[required] The information for the launch template.
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