Skip to content

ScheduledInstance

Source code in docs_src/capo_ec2/types/scheduled_instance.py
class ScheduledInstance(TypedDict, closed=True):
    availability_zone: NotRequired["capo_ec2.types.string.String"]
    """<p>The Availability Zone.</p>"""
    create_date: NotRequired["capo_ec2.types.date_time.DateTime"]
    """<p>The date when the Scheduled Instance was purchased.</p>"""
    hourly_price: NotRequired["capo_ec2.types.string.String"]
    """<p>The hourly price for a single instance.</p>"""
    instance_count: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The number of instances.</p>"""
    instance_type: NotRequired["capo_ec2.types.string.String"]
    """<p>The instance type.</p>"""
    network_platform: NotRequired["capo_ec2.types.string.String"]
    """<p>The network platform.</p>"""
    next_slot_start_time: NotRequired["capo_ec2.types.date_time.DateTime"]
    """<p>The time for the next schedule to start.</p>"""
    platform: NotRequired["capo_ec2.types.string.String"]
    """<p>The platform (<code>Linux/UNIX</code> or <code>Windows</code>).</p>"""
    previous_slot_end_time: NotRequired["capo_ec2.types.date_time.DateTime"]
    """<p>The time that the previous schedule ended or will end.</p>"""
    recurrence: NotRequired[
        "capo_ec2.types.scheduled_instance_recurrence.ScheduledInstanceRecurrence"
    ]
    """<p>The schedule recurrence.</p>"""
    scheduled_instance_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The Scheduled Instance ID.</p>"""
    slot_duration_in_hours: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The number of hours in the schedule.</p>"""
    term_end_date: NotRequired["capo_ec2.types.date_time.DateTime"]
    """<p>The end date for the Scheduled Instance.</p>"""
    term_start_date: NotRequired["capo_ec2.types.date_time.DateTime"]
    """<p>The start date for the Scheduled Instance.</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.

create_date instance-attribute

create_date: NotRequired[DateTime]

The date when the Scheduled Instance was purchased.

hourly_price instance-attribute

hourly_price: NotRequired[String]

The hourly price for a single instance.

instance_count instance-attribute

instance_count: NotRequired[Integer]

The number of instances.

instance_type instance-attribute

instance_type: NotRequired[String]

The instance type.

network_platform instance-attribute

network_platform: NotRequired[String]

The network platform.

next_slot_start_time instance-attribute

next_slot_start_time: NotRequired[DateTime]

The time for the next schedule to start.

platform instance-attribute

platform: NotRequired[String]

The platform (Linux/UNIX or Windows).

previous_slot_end_time instance-attribute

previous_slot_end_time: NotRequired[DateTime]

The time that the previous schedule ended or will end.

recurrence instance-attribute

recurrence: NotRequired[ScheduledInstanceRecurrence]

The schedule recurrence.

scheduled_instance_id instance-attribute

scheduled_instance_id: NotRequired[String]

The Scheduled Instance ID.

slot_duration_in_hours instance-attribute

slot_duration_in_hours: NotRequired[Integer]

The number of hours in the schedule.

term_end_date instance-attribute

term_end_date: NotRequired[DateTime]

The end date for the Scheduled Instance.

term_start_date instance-attribute

term_start_date: NotRequired[DateTime]

The start date for the Scheduled Instance.

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.