ContainerMemoryLimits - Amazon GameLift
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

ContainerMemoryLimits

Specifies how much memory is available to a container. You can't change this value after you create this object.

Part of: ContainerDefinition:MemoryLimits

Contents

Note

In the following list, the required parameters are described first.

HardLimit

The maximum amount of memory that the container can use. If a container attempts to exceed this limit, the container is stopped. This property is similar to the Amazon ECS container definition parameter memory in the Amazon Elastic Container Service Developer Guide.

Type: Integer

Valid Range: Minimum value of 4. Maximum value of 1024000.

Required: No

SoftLimit

The amount of memory that is reserved for a container. When the container group's shared memory is under contention, the system attempts to maintain the container memory usage at this soft limit. However, the container can use more memory when needed, if available. This property is similar to the Amazon ECS container definition parameter memoryreservation (Amazon Elastic Container Service Developer Guide).

Type: Integer

Valid Range: Minimum value of 4. Maximum value of 1024000.

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: