CreateLaunchTemplateRequest
¶
Source code in docs_src/capo_ec2/types/create_launch_template_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_name
instance-attribute
¶
launch_template_name: NotRequired[String]
A name for the launch template.
tag_specifications
instance-attribute
¶
tag_specifications: NotRequired[TagSpecificationList]
The tags to apply to the launch template on creation. To tag the launch template, the resource type must be launch-template.
To specify the tags for the resources that are created when an instance is launched, you must use the TagSpecifications parameter in the launch template data structure.
version_description
instance-attribute
¶
version_description: NotRequired[VersionDescription]
A description for the first version of the launch template.