Skip to content

FleetLaunchTemplateSpecificationRequest

Source code in docs_src/capo_ec2/types/fleet_launch_template_specification_request.py
class FleetLaunchTemplateSpecificationRequest(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 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_specification_user_data: NotRequired[
        "capo_ec2.types.sensitive_user_data.SensitiveUserData"
    ]
    """<p>The base64-encoded user data for instances launched by the fleet. User data is limited to 16 KB, in raw form, before it is base64-encoded.</p> <p>Supported only for fleets of type <code>instant</code>.</p>"""

launch_template_id instance-attribute

launch_template_id: NotRequired[LaunchTemplateId]

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.

launch_template_specification_user_data instance-attribute

launch_template_specification_user_data: NotRequired[SensitiveUserData]

The base64-encoded user data for instances launched by the fleet. User data is limited to 16 KB, in raw form, before it is base64-encoded.

Supported only for fleets of type instant.

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.