Class: Aws::GameLift::Types::ContainerGroupsPerInstance

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

Overview

**This data type is used with the Amazon GameLift containers feature, which is currently in public preview.**

Determines how many replica container groups that Amazon GameLift deploys to each instance in a container fleet.

Amazon GameLift calculates the maximum possible replica groups per instance based on the instance ‘s CPU and memory resources. When deploying a fleet, Amazon GameLift places replica container groups on each fleet instance based on the following:

  • If no desired value is set, Amazon GameLift places the calculated maximum.

  • If a desired number is set to a value higher than the calculated maximum, fleet creation fails..

  • If a desired number is set to a value lower than the calculated maximum, Amazon GameLift places the desired number.

**Part of:** ContainerGroupsConfiguration, ContainerGroupsAttributes

**Returned by:** DescribeFleetAttributes, CreateFleet

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#desired_replica_container_groups_per_instanceInteger

The desired number of replica container groups to place on each fleet instance.

Returns:

  • (Integer)


1354
1355
1356
1357
1358
1359
# File 'lib/aws-sdk-gamelift/types.rb', line 1354

class ContainerGroupsPerInstance < Struct.new(
  :desired_replica_container_groups_per_instance,
  :max_replica_container_groups_per_instance)
  SENSITIVE = []
  include Aws::Structure
end

#max_replica_container_groups_per_instanceInteger

The maximum possible number of replica container groups that each fleet instance can have.

Returns:

  • (Integer)


1354
1355
1356
1357
1358
1359
# File 'lib/aws-sdk-gamelift/types.rb', line 1354

class ContainerGroupsPerInstance < Struct.new(
  :desired_replica_container_groups_per_instance,
  :max_replica_container_groups_per_instance)
  SENSITIVE = []
  include Aws::Structure
end