Ulimit
- class aws_cdk.aws_ecs.Ulimit(*, hard_limit, name, soft_limit)
Bases:
object
The ulimit settings to pass to the container.
NOTE: Does not work for Windows containers.
- Parameters:
hard_limit (
Union
[int
,float
]) – The hard limit for the ulimit type.name (
UlimitName
) – The type of the ulimit. For more information, see UlimitName.soft_limit (
Union
[int
,float
]) – The soft limit for the ulimit type.
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_ecs as ecs ulimit = ecs.Ulimit( hard_limit=123, name=ecs.UlimitName.CORE, soft_limit=123 )
Attributes
- hard_limit
The hard limit for the ulimit type.
- name
The type of the ulimit.
For more information, see UlimitName.
- soft_limit
The soft limit for the ulimit type.