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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-gamelift/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)


2658
2659
2660
2661
2662
2663
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 2658

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.

Returns:

  • (String)


2658
2659
2660
2661
2662
2663
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 2658

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

#instance_limitInteger

Number of instances allowed.

Returns:

  • (Integer)


2658
2659
2660
2661
2662
2663
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 2658

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