Skip to content

EC2  >  Structures  >  LaunchTemplateConfig

LaunchTemplateConfig

Structure Class

LaunchTemplateConfig dataclass

Bases: _SerdeShape

Describes a launch template and overrides.

Attributes

launch_template_specification class-attribute instance-attribute
launch_template_specification: FleetLaunchTemplateSpecification | None = ...

The launch template to use. Make sure that the launch template does not contain the NetworkInterfaceId parameter because you can't specify a network interface ID in a Spot Fleet.

overrides class-attribute instance-attribute
overrides: list[LaunchTemplateOverrides] | None = ...

Any parameters that you specify override the same parameters in the launch template.