Interface CfnFleet.ContainerGroupsPerInstanceProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnFleet.ContainerGroupsPerInstanceProperty.Jsii$Proxy
Enclosing class:
CfnFleet

@Stability(Stable) public static interface CfnFleet.ContainerGroupsPerInstanceProperty extends software.amazon.jsii.JsiiSerializable
*This data type is currently not available.

It is under improvement as we respond to customer feedback from the Containers 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

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.gamelift.*;
 ContainerGroupsPerInstanceProperty containerGroupsPerInstanceProperty = ContainerGroupsPerInstanceProperty.builder()
         .desiredReplicaContainerGroupsPerInstance(123)
         .maxReplicaContainerGroupsPerInstance(123)
         .build();
 

See Also: