Skip to content

FleetLaunchTemplateSpecification

Source code in docs_src/capo_ec2/types/fleet_launch_template_specification.py
class FleetLaunchTemplateSpecification(TypedDict, closed=True):
    launch_template_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the launch template.</p> <p>You must specify the <code>LaunchTemplateId</code> or the <code>LaunchTemplateName</code>, but not both.</p>"""
    launch_template_name: NotRequired[
        "capo_ec2.types.launch_template_name.LaunchTemplateName"
    ]
    """<p>The name of the launch template.</p> <p>You must specify the <code>LaunchTemplateName</code> or the <code>LaunchTemplateId</code>, but not both.</p>"""
    version: NotRequired["capo_ec2.types.string.String"]
    """<p>The launch template version number, <code>$Latest</code>, or <code>$Default</code>. You must specify a value, otherwise the request fails.</p> <p>If the value is <code>$Latest</code>, Amazon EC2 uses the latest version of the launch template.</p> <p>If the value is <code>$Default</code>, Amazon EC2 uses the default version of the launch template.</p>"""

launch_template_id instance-attribute

launch_template_id: NotRequired[String]

The ID of the launch template.

You must specify the LaunchTemplateId or the LaunchTemplateName, but not both.

launch_template_name instance-attribute

launch_template_name: NotRequired[LaunchTemplateName]

The name of the launch template.

You must specify the LaunchTemplateName or the LaunchTemplateId, but not both.

version instance-attribute

version: NotRequired[String]

The launch template version number, $Latest, or $Default. You must specify a value, otherwise the request fails.

If the value is $Latest, Amazon EC2 uses the latest version of the launch template.

If the value is $Default, Amazon EC2 uses the default version of the launch template.