Skip to content

SpotFleetRequestConfig

Source code in docs_src/capo_ec2/types/spot_fleet_request_config.py
class SpotFleetRequestConfig(TypedDict, closed=True):
    activity_status: NotRequired["capo_ec2.types.activity_status.ActivityStatus"]
    """<p>The progress of the Spot Fleet request. If there is an error, the status is <code>error</code>. After all requests are placed, the status is <code>pending_fulfillment</code>. If the size of the fleet is equal to or greater than its target capacity, the status is <code>fulfilled</code>. If the size of the fleet is decreased, the status is <code>pending_termination</code> while Spot Instances are terminating.</p>"""
    create_time: NotRequired["capo_ec2.types.millisecond_date_time.MillisecondDateTime"]
    """<p>The creation date and time of the request.</p>"""
    spot_fleet_request_config: NotRequired[
        "capo_ec2.types.spot_fleet_request_config_data.SpotFleetRequestConfigData"
    ]
    """<p>The configuration of the Spot Fleet request.</p>"""
    spot_fleet_request_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the Spot Fleet request.</p>"""
    spot_fleet_request_state: NotRequired["capo_ec2.types.batch_state.BatchState"]
    """<p>The state of the Spot Fleet request.</p>"""
    tags: NotRequired["capo_ec2.types.tag_list.TagList"]
    """<p>The tags for a Spot Fleet resource.</p>"""

activity_status instance-attribute

activity_status: NotRequired[ActivityStatus]

The progress of the Spot Fleet request. If there is an error, the status is error. After all requests are placed, the status is pending_fulfillment. If the size of the fleet is equal to or greater than its target capacity, the status is fulfilled. If the size of the fleet is decreased, the status is pending_termination while Spot Instances are terminating.

create_time instance-attribute

create_time: NotRequired[MillisecondDateTime]

The creation date and time of the request.

spot_fleet_request_config instance-attribute

spot_fleet_request_config: NotRequired[SpotFleetRequestConfigData]

The configuration of the Spot Fleet request.

spot_fleet_request_id instance-attribute

spot_fleet_request_id: NotRequired[String]

The ID of the Spot Fleet request.

spot_fleet_request_state instance-attribute

spot_fleet_request_state: NotRequired[BatchState]

The state of the Spot Fleet request.

tags instance-attribute

tags: NotRequired[TagList]

The tags for a Spot Fleet resource.