Class: Aws::GameLift::Types::ContainerGroupsPerInstance
- Inherits:
-
Struct
- Object
- Struct
- Aws::GameLift::Types::ContainerGroupsPerInstance
- Defined in:
- gems/aws-sdk-gamelift/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, Amazon GameLift places the calculated maximum.
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
-
#desired_replica_container_groups_per_instance ⇒ Integer
The desired number of replica container groups to place on each fleet instance.
-
#max_replica_container_groups_per_instance ⇒ Integer
The maximum possible number of replica container groups that each fleet instance can have.
Instance Attribute Details
#desired_replica_container_groups_per_instance ⇒ Integer
The desired number of replica container groups to place on each fleet instance.
1312 1313 1314 1315 1316 1317 |
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 1312 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_instance ⇒ Integer
The maximum possible number of replica container groups that each fleet instance can have.
1312 1313 1314 1315 1316 1317 |
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 1312 class ContainerGroupsPerInstance < Struct.new( :desired_replica_container_groups_per_instance, :max_replica_container_groups_per_instance) SENSITIVE = [] include Aws::Structure end |