Skip to content

EC2InstanceCounts

Source code in docs_src/capo_gamelift/types/ec2_instance_counts.py
class EC2InstanceCounts(TypedDict, closed=True):
    desired: NotRequired["capo_gamelift.types.whole_number.WholeNumber"]
    """<p>Requested number of active instances. Amazon GameLift Servers takes action as needed to maintain the desired number of instances. Capacity is scaled up or down by changing the desired instances. A change in the desired instances value can take up to 1 minute to be reflected when viewing a fleet's capacity settings. </p>"""
    minimum: NotRequired["capo_gamelift.types.whole_number.WholeNumber"]
    """<p>The minimum instance count value allowed.</p>"""
    maximum: NotRequired["capo_gamelift.types.whole_number.WholeNumber"]
    """<p>The maximum instance count value allowed.</p>"""
    pending: NotRequired["capo_gamelift.types.whole_number.WholeNumber"]
    """<p>Number of instances that are starting but not yet active.</p>"""
    active: NotRequired["capo_gamelift.types.whole_number.WholeNumber"]
    """<p>Actual number of instances that are ready to host game sessions.</p>"""
    idle: NotRequired["capo_gamelift.types.whole_number.WholeNumber"]
    """<p>Number of active instances that are not currently hosting a game session.</p>"""
    terminating: NotRequired["capo_gamelift.types.whole_number.WholeNumber"]
    """<p>Number of instances that are no longer active but haven't yet been terminated.</p>"""

active instance-attribute

active: NotRequired[WholeNumber]

Actual number of instances that are ready to host game sessions.

desired instance-attribute

desired: NotRequired[WholeNumber]

Requested number of active instances. Amazon GameLift Servers takes action as needed to maintain the desired number of instances. Capacity is scaled up or down by changing the desired instances. A change in the desired instances value can take up to 1 minute to be reflected when viewing a fleet's capacity settings.

idle instance-attribute

idle: NotRequired[WholeNumber]

Number of active instances that are not currently hosting a game session.

maximum instance-attribute

maximum: NotRequired[WholeNumber]

The maximum instance count value allowed.

minimum instance-attribute

minimum: NotRequired[WholeNumber]

The minimum instance count value allowed.

pending instance-attribute

pending: NotRequired[WholeNumber]

Number of instances that are starting but not yet active.

terminating instance-attribute

terminating: NotRequired[WholeNumber]

Number of instances that are no longer active but haven't yet been terminated.