CreateFleetInstance
¶
Source code in docs_src/capo_ec2/types/create_fleet_instance.py
availability_zone
instance-attribute
¶
availability_zone: NotRequired[AvailabilityZoneName]
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
instance-attribute
¶
availability_zone_id: NotRequired[AvailabilityZoneId]
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
instance-attribute
¶
instance_ids: NotRequired[InstanceIdsSet]
The IDs of the instances.
launch_template_and_overrides
instance-attribute
¶
launch_template_and_overrides: NotRequired[LaunchTemplateAndOverridesResponse]
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
instance-attribute
¶
lifecycle: NotRequired[InstanceLifecycle]
Indicates if the instance that was launched is a Spot, On-Demand, Capacity Block for ML, or interruptible Capacity Reservation instance.
platform
instance-attribute
¶
platform: NotRequired[PlatformValues]
The value is windows for Windows instances in an EC2 Fleet. Otherwise, the value is blank.