Skip to content

LaunchTemplateSpecification

Source code in docs_src/capo_ec2/types/launch_template_specification.py
class LaunchTemplateSpecification(TypedDict, closed=True):
    launch_template_id: NotRequired[
        "capo_ec2.types.launch_template_id.LaunchTemplateId"
    ]
    """<p>The ID of the launch template.</p> <p>You must specify either the launch template ID or the launch template name, but not both.</p>"""
    launch_template_name: NotRequired["capo_ec2.types.string.String"]
    """<p>The name of the launch template.</p> <p>You must specify either the launch template ID or the launch template name, but not both.</p>"""
    version: NotRequired["capo_ec2.types.string.String"]
    """<p>The launch template version number, <code>$Latest</code>, or <code>$Default</code>.</p> <p>A value of <code>$Latest</code> uses the latest version of the launch template.</p> <p>A value of <code>$Default</code> uses the default version of the launch template.</p> <p>Default: The default version of the launch template.</p>"""

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[String]

The name of the launch template.

You must specify either the launch template ID or the launch template name, but not both.

version instance-attribute

version: NotRequired[String]

The launch template version number, $Latest, or $Default.

A value of $Latest uses the latest version of the launch template.

A value of $Default uses the default version of the launch template.

Default: The default version of the launch template.