You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::GameLift::Types::EC2InstanceLimit

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

The maximum number of instances allowed based on the Amazon Elastic Compute Cloud (Amazon EC2) instance type. Instance limits can be retrieved by calling DescribeEC2InstanceLimits.

Instance Attribute Summary collapse

Instance Attribute Details

#current_instancesInteger

Number of instances of the specified type that are currently in use by this AWS account.

Returns:

  • (Integer)

    Number of instances of the specified type that are currently in use by this AWS account.

#ec2_instance_typeString

Name of an EC2 instance type that is supported in Amazon GameLift. A fleet instance type determines the computing resources of each instance in the fleet, including CPU, memory, storage, and networking capacity. Amazon GameLift supports the following EC2 instance types. See Amazon EC2 Instance Types for detailed descriptions.

Returns:

  • (String)

    Name of an EC2 instance type that is supported in Amazon GameLift.

#instance_limitInteger

Number of instances allowed.

Returns:

  • (Integer)

    Number of instances allowed.