Class: Aws::GameLift::Types::ContainerMemoryLimits
- Inherits:
-
Struct
- Object
- Struct
- Aws::GameLift::Types::ContainerMemoryLimits
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-gamelift/types.rb
Overview
Specifies how much memory is available to a container. You can’t change this value after you create this object.
Part of: ContainerDefinition$MemoryLimits
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#hard_limit ⇒ Integer
The maximum amount of memory that the container can use.
-
#soft_limit ⇒ Integer
The amount of memory that is reserved for a container.
Instance Attribute Details
#hard_limit ⇒ Integer
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.*
1456 1457 1458 1459 1460 1461 |
# File 'lib/aws-sdk-gamelift/types.rb', line 1456 class ContainerMemoryLimits < Struct.new( :soft_limit, :hard_limit) SENSITIVE = [] include Aws::Structure end |
#soft_limit ⇒ Integer
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*).
1456 1457 1458 1459 1460 1461 |
# File 'lib/aws-sdk-gamelift/types.rb', line 1456 class ContainerMemoryLimits < Struct.new( :soft_limit, :hard_limit) SENSITIVE = [] include Aws::Structure end |