Skip to content

InstanceDefinition

Source code in docs_src/capo_gamelift/types/instance_definition.py
class InstanceDefinition(TypedDict, closed=True):
    instance_type: NotRequired[
        "capo_gamelift.types.game_server_group_instance_type.GameServerGroupInstanceType"
    ]
    """<p>An Amazon EC2 instance type designation.</p>"""
    weighted_capacity: NotRequired[
        "capo_gamelift.types.weighted_capacity.WeightedCapacity"
    ]
    """<p>Instance weighting that indicates how much this instance type contributes to the total capacity of a game server group. Instance weights are used by Amazon GameLift Servers FleetIQ to calculate the instance type's cost per unit hour and better identify the most cost-effective options. For detailed information on weighting instance capacity, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-weighting.html">Instance Weighting</a> in the <i>Amazon Elastic Compute Cloud Auto Scaling User Guide</i>. Default value is "1".</p>"""

instance_type instance-attribute

instance_type: NotRequired[GameServerGroupInstanceType]

An Amazon EC2 instance type designation.

weighted_capacity instance-attribute

weighted_capacity: NotRequired[WeightedCapacity]

Instance weighting that indicates how much this instance type contributes to the total capacity of a game server group. Instance weights are used by Amazon GameLift Servers FleetIQ to calculate the instance type's cost per unit hour and better identify the most cost-effective options. For detailed information on weighting instance capacity, see Instance Weighting in the Amazon Elastic Compute Cloud Auto Scaling User Guide. Default value is "1".