Skip to content

EC2  >  Structures  >  LaunchTemplateSpecification

LaunchTemplateSpecification

Structure Class

LaunchTemplateSpecification dataclass

Bases: _SerdeShape

Describes the launch template to use.

Attributes

launch_template_id class-attribute instance-attribute
launch_template_id: str | None = ...

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 class-attribute instance-attribute
launch_template_name: str | None = ...

The name of the launch template.

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

version class-attribute instance-attribute
version: str | None = ...

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.