ContainerMemoryLimits
This data type is currently not available. It is under improvement as we respond to customer feedback from the Containers public preview.
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: