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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-gamelift/types.rb

Overview

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)


2676
2677
2678
2679
2680
2681
# File 'lib/aws-sdk-gamelift/types.rb', line 2676

class EC2InstanceLimit < Struct.new(
  :ec2_instance_type,
  :current_instances,
  :instance_limit)
  include Aws::Structure
end

#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.

[1]: aws.amazon.com/ec2/instance-types/

Returns:

  • (String)


2676
2677
2678
2679
2680
2681
# File 'lib/aws-sdk-gamelift/types.rb', line 2676

class EC2InstanceLimit < Struct.new(
  :ec2_instance_type,
  :current_instances,
  :instance_limit)
  include Aws::Structure
end

#instance_limitInteger

Number of instances allowed.

Returns:

  • (Integer)


2676
2677
2678
2679
2680
2681
# File 'lib/aws-sdk-gamelift/types.rb', line 2676

class EC2InstanceLimit < Struct.new(
  :ec2_instance_type,
  :current_instances,
  :instance_limit)
  include Aws::Structure
end