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

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

Overview

The GameLift service limits for an Amazon EC2 instance type and current utilization. GameLift allows Amazon Web Services accounts a maximum number of instances, per instance type, per Amazon Web Services Region or location, for use with GameLift. You can request an limit increase for your account by using the Service limits page in the GameLift console.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#current_instancesInteger

The number of instances for the specified type and location that are currently being used by the Amazon Web Services account.

Returns:

  • (Integer)


3588
3589
3590
3591
3592
3593
3594
3595
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 3588

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

#ec2_instance_typeString

The name of an Amazon EC2 instance type. See Amazon Elastic Compute Cloud Instance Types for detailed descriptions.

Returns:

  • (String)


3588
3589
3590
3591
3592
3593
3594
3595
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 3588

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

#instance_limitInteger

The number of instances that is allowed for the specified instance type and location.

Returns:

  • (Integer)


3588
3589
3590
3591
3592
3593
3594
3595
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 3588

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

#locationString

An Amazon Web Services Region code, such as us-west-2.

Returns:

  • (String)


3588
3589
3590
3591
3592
3593
3594
3595
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 3588

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