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 EC2 instance type and current utilization. GameLift allows AWS accounts a maximum number of instances, per instance type, per AWS 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.

Related actions

DescribeEC2InstanceLimits

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 AWS account.

Returns:

  • (Integer)


4171
4172
4173
4174
4175
4176
4177
4178
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 4171

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

#ec2_instance_typeString

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

Returns:

  • (String)


4171
4172
4173
4174
4175
4176
4177
4178
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 4171

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)


4171
4172
4173
4174
4175
4176
4177
4178
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 4171

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

#locationString

An AWS Region code, such as us-west-2.

Returns:

  • (String)


4171
4172
4173
4174
4175
4176
4177
4178
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 4171

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