AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

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

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.

Constant Summary collapse

SENSITIVE =
[]

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)


3706
3707
3708
3709
3710
3711
3712
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 3706

class EC2InstanceLimit < Struct.new(
  :ec2_instance_type,
  :current_instances,
  :instance_limit)
  SENSITIVE = []
  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)


3706
3707
3708
3709
3710
3711
3712
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 3706

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

#instance_limitInteger

Number of instances allowed.

Returns:

  • (Integer)


3706
3707
3708
3709
3710
3711
3712
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 3706

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