Skip to content

ScheduledInstanceAvailability

Source code in docs_src/capo_ec2/types/scheduled_instance_availability.py
class ScheduledInstanceAvailability(TypedDict, closed=True):
    availability_zone: NotRequired["capo_ec2.types.string.String"]
    """<p>The Availability Zone.</p>"""
    available_instance_count: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The number of available instances.</p>"""
    first_slot_start_time: NotRequired["capo_ec2.types.date_time.DateTime"]
    """<p>The time period for the first schedule to start.</p>"""
    hourly_price: NotRequired["capo_ec2.types.string.String"]
    """<p>The hourly price for a single instance.</p>"""
    instance_type: NotRequired["capo_ec2.types.string.String"]
    """<p>The instance type. You can specify one of the C3, C4, M4, or R3 instance types.</p>"""
    max_term_duration_in_days: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The maximum term. The only possible value is 365 days.</p>"""
    min_term_duration_in_days: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The minimum term. The only possible value is 365 days.</p>"""
    network_platform: NotRequired["capo_ec2.types.string.String"]
    """<p>The network platform.</p>"""
    platform: NotRequired["capo_ec2.types.string.String"]
    """<p>The platform (<code>Linux/UNIX</code> or <code>Windows</code>).</p>"""
    purchase_token: NotRequired["capo_ec2.types.string.String"]
    """<p>The purchase token. This token expires in two hours.</p>"""
    recurrence: NotRequired[
        "capo_ec2.types.scheduled_instance_recurrence.ScheduledInstanceRecurrence"
    ]
    """<p>The schedule recurrence.</p>"""
    slot_duration_in_hours: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The number of hours in the schedule.</p>"""
    total_scheduled_instance_hours: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The total number of hours for a single instance for the entire term.</p>"""

availability_zone instance-attribute

availability_zone: NotRequired[String]

The Availability Zone.

available_instance_count instance-attribute

available_instance_count: NotRequired[Integer]

The number of available instances.

first_slot_start_time instance-attribute

first_slot_start_time: NotRequired[DateTime]

The time period for the first schedule to start.

hourly_price instance-attribute

hourly_price: NotRequired[String]

The hourly price for a single instance.

instance_type instance-attribute

instance_type: NotRequired[String]

The instance type. You can specify one of the C3, C4, M4, or R3 instance types.

max_term_duration_in_days instance-attribute

max_term_duration_in_days: NotRequired[Integer]

The maximum term. The only possible value is 365 days.

min_term_duration_in_days instance-attribute

min_term_duration_in_days: NotRequired[Integer]

The minimum term. The only possible value is 365 days.

network_platform instance-attribute

network_platform: NotRequired[String]

The network platform.

platform instance-attribute

platform: NotRequired[String]

The platform (Linux/UNIX or Windows).

purchase_token instance-attribute

purchase_token: NotRequired[String]

The purchase token. This token expires in two hours.

recurrence instance-attribute

recurrence: NotRequired[ScheduledInstanceRecurrence]

The schedule recurrence.

slot_duration_in_hours instance-attribute

slot_duration_in_hours: NotRequired[Integer]

The number of hours in the schedule.

total_scheduled_instance_hours instance-attribute

total_scheduled_instance_hours: NotRequired[Integer]

The total number of hours for a single instance for the entire term.