CreateLaunchTemplateVersionRequest
¶
Source code in docs_src/capo_ec2/types/create_launch_template_version_request.py
client_token
instance-attribute
¶
client_token: NotRequired[String]
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If a client token isn't specified, a randomly generated token is used in the request to ensure idempotency.
For more information, see Ensuring idempotency.
Constraint: Maximum 128 ASCII characters.
dry_run
instance-attribute
¶
dry_run: NotRequired[Boolean]
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.
launch_template_data
instance-attribute
¶
launch_template_data: NotRequired[RequestLaunchTemplateData]
The information for the launch template.
launch_template_id
instance-attribute
¶
launch_template_id: NotRequired[LaunchTemplateId]
The ID of the launch template.
You must specify either the launch template ID or the launch template name, but not both.
launch_template_name
instance-attribute
¶
launch_template_name: NotRequired[LaunchTemplateName]
The name of the launch template.
You must specify either the launch template ID or the launch template name, but not both.
resolve_alias
instance-attribute
¶
resolve_alias: NotRequired[Boolean]
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
source_version
instance-attribute
¶
source_version: NotRequired[String]
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.
version_description
instance-attribute
¶
version_description: NotRequired[VersionDescription]
A description for the version of the launch template.