Skip to content

EC2  >  Structures  >  CreateFleetInstance

CreateFleetInstance

Structure Class

CreateFleetInstance dataclass

Bases: _SerdeShape

Describes the instances that were launched by the fleet.

Attributes

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

The name of the Availability Zone in which the instance was launched. For example, us-east-2a.

Supported only for fleets of type instant.

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

The ID of the Availability Zone in which the instance was launched. For example, use2-az1.

Supported only for fleets of type instant.

instance_ids class-attribute instance-attribute
instance_ids: list[str] | None = ...

The IDs of the instances.

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

The instance type.

launch_template_and_overrides class-attribute instance-attribute
launch_template_and_overrides: LaunchTemplateAndOverridesResponse | None = ...

The launch templates and overrides that were used for launching the instances. The values that you specify in the Overrides replace the values in the launch template.

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

Indicates if the instance that was launched is a Spot, On-Demand, Capacity Block for ML, or interruptible Capacity Reservation instance.

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

The value is windows for Windows instances in an EC2 Fleet. Otherwise, the value is blank.

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

The ID of the subnet in which the instance was launched.

Supported only for fleets of type instant.