Creates a new version of a launch template. You must specify an existing launch template, either by name or ID. You can determine whether the new version inherits parameters from a source version, and add or overwrite parameters as needed.
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 launch template ID or the launch template name, but not both.
The name of the launch template.
You must specify either the launch template ID or the launch template name, but not both.
The version of the launch template on which to base the new version. Snapshots applied to the block device mapping are ignored when creating a new version unless they are explicitly included.
If you specify this parameter, the new version inherits the launch parameters from the source version. If you specify additional launch parameters for the new version, they overwrite any corresponding launch parameters inherited from the source version.
If you omit this parameter, the new version contains only the launch parameters that you specify for the new version.
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 EC2 User Guide.
Default: false