Ulimit
- class aws_cdk.aws_batch.Ulimit(*, hard_limit, name, soft_limit)
Bases:
object
Sets limits for a resource with
ulimit
on linux systems.Used by the Docker daemon.
- Parameters:
hard_limit (
Union
[int
,float
]) – The hard limit for this resource. The container will be terminated if it exceeds this limit.name (
UlimitName
) – The resource to limit.soft_limit (
Union
[int
,float
]) – The reservation for this resource. The container will not be terminated if it exceeds this limit.
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_batch as batch ulimit = batch.Ulimit( hard_limit=123, name=batch.UlimitName.CORE, soft_limit=123 )
Attributes
- hard_limit
The hard limit for this resource.
The container will be terminated if it exceeds this limit.
- name
The resource to limit.
- soft_limit
The reservation for this resource.
The container will not be terminated if it exceeds this limit.