Skip to content

CreateLaunchTemplateRequest

Source code in docs_src/capo_ec2/types/create_launch_template_request.py
class CreateLaunchTemplateRequest(TypedDict, closed=True):
    dry_run: NotRequired["capo_ec2.types.boolean.Boolean"]
    """<p>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 <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>"""
    client_token: NotRequired["capo_ec2.types.string.String"]
    """<p>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.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p> <p>Constraint: Maximum 128 ASCII characters.</p>"""
    launch_template_name: NotRequired["capo_ec2.types.string.String"]
    """<p>A name for the launch template.</p>"""
    version_description: NotRequired[
        "capo_ec2.types.version_description.VersionDescription"
    ]
    """<p>A description for the first version of the launch template.</p>"""
    launch_template_data: NotRequired[
        "capo_ec2.types.request_launch_template_data.RequestLaunchTemplateData"
    ]
    """<p>The information for the launch template.</p>"""
    operator: NotRequired["capo_ec2.types.operator_request.OperatorRequest"]
    """<p>Reserved for internal use.</p>"""
    tag_specifications: NotRequired[
        "capo_ec2.types.tag_specification_list.TagSpecificationList"
    ]
    """<p>The tags to apply to the launch template on creation. To tag the launch template, the resource type must be <code>launch-template</code>.</p> <p>To specify the tags for the resources that are created when an instance is launched, you must use the <code>TagSpecifications</code> parameter in the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestLaunchTemplateData.html">launch template data</a> structure.</p>"""

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.

operator instance-attribute

operator: NotRequired[OperatorRequest]

Reserved for internal use.

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.