Skip to content

FleetCapacityReservation

Source code in docs_src/capo_ec2/types/fleet_capacity_reservation.py
class FleetCapacityReservation(TypedDict, closed=True):
    capacity_reservation_id: NotRequired[
        "capo_ec2.types.capacity_reservation_id.CapacityReservationId"
    ]
    """<p>The ID of the Capacity Reservation.</p>"""
    availability_zone_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the Availability Zone in which the Capacity Reservation reserves capacity.</p>"""
    instance_type: NotRequired["capo_ec2.types.instance_type.InstanceType"]
    """<p>The instance type for which the Capacity Reservation reserves capacity.</p>"""
    instance_platform: NotRequired[
        "capo_ec2.types.capacity_reservation_instance_platform.CapacityReservationInstancePlatform"
    ]
    """<p>The type of operating system for which the Capacity Reservation reserves capacity.</p>"""
    availability_zone: NotRequired["capo_ec2.types.string.String"]
    """<p>The Availability Zone in which the Capacity Reservation reserves capacity.</p>"""
    total_instance_count: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The total number of instances for which the Capacity Reservation reserves capacity.</p>"""
    fulfilled_capacity: NotRequired["capo_ec2.types.double.Double"]
    """<p>The number of capacity units fulfilled by the Capacity Reservation. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity">Total target capacity</a> in the <i>Amazon EC2 User Guide</i>.</p>"""
    ebs_optimized: NotRequired["capo_ec2.types.boolean.Boolean"]
    """<p>Indicates whether the Capacity Reservation reserves capacity for EBS-optimized instance types.</p>"""
    create_date: NotRequired["capo_ec2.types.millisecond_date_time.MillisecondDateTime"]
    """<p>The date and time at which the Capacity Reservation was created.</p>"""
    weight: NotRequired["capo_ec2.types.double_with_constraints.DoubleWithConstraints"]
    """<p>The weight of the instance type in the Capacity Reservation Fleet. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#instance-weight">Instance type weight</a> in the <i>Amazon EC2 User Guide</i>.</p>"""
    priority: NotRequired[
        "capo_ec2.types.integer_with_constraints.IntegerWithConstraints"
    ]
    """<p>The priority of the instance type in the Capacity Reservation Fleet. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#instance-priority">Instance type priority</a> in the <i>Amazon EC2 User Guide</i>.</p>"""

availability_zone instance-attribute

availability_zone: NotRequired[String]

The Availability Zone in which the Capacity Reservation reserves capacity.

availability_zone_id instance-attribute

availability_zone_id: NotRequired[String]

The ID of the Availability Zone in which the Capacity Reservation reserves capacity.

capacity_reservation_id instance-attribute

capacity_reservation_id: NotRequired[CapacityReservationId]

The ID of the Capacity Reservation.

create_date instance-attribute

create_date: NotRequired[MillisecondDateTime]

The date and time at which the Capacity Reservation was created.

ebs_optimized instance-attribute

ebs_optimized: NotRequired[Boolean]

Indicates whether the Capacity Reservation reserves capacity for EBS-optimized instance types.

fulfilled_capacity instance-attribute

fulfilled_capacity: NotRequired[Double]

The number of capacity units fulfilled by the Capacity Reservation. For more information, see Total target capacity in the Amazon EC2 User Guide.

instance_platform instance-attribute

instance_platform: NotRequired[CapacityReservationInstancePlatform]

The type of operating system for which the Capacity Reservation reserves capacity.

instance_type instance-attribute

instance_type: NotRequired[InstanceType]

The instance type for which the Capacity Reservation reserves capacity.

priority instance-attribute

priority: NotRequired[IntegerWithConstraints]

The priority of the instance type in the Capacity Reservation Fleet. For more information, see Instance type priority in the Amazon EC2 User Guide.

total_instance_count instance-attribute

total_instance_count: NotRequired[Integer]

The total number of instances for which the Capacity Reservation reserves capacity.

weight instance-attribute

weight: NotRequired[DoubleWithConstraints]

The weight of the instance type in the Capacity Reservation Fleet. For more information, see Instance type weight in the Amazon EC2 User Guide.