UlimitName

class aws_cdk.aws_ecs.UlimitName(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

Type of resource to set a limit on.

ExampleMetadata:

infused

Example:

task_definition = ecs.Ec2TaskDefinition(self, "TaskDef")
task_definition.add_container("TheContainer",
    image=ecs.ContainerImage.from_registry("example-image"),
    ulimits=[ecs.Ulimit(
        hard_limit=128,
        name=ecs.UlimitName.RSS,
        soft_limit=128
    )]
)

Attributes

CORE = 'CORE'
CPU = 'CPU'
DATA = 'DATA'
FSIZE = 'FSIZE'
LOCKS = 'LOCKS'
MEMLOCK = 'MEMLOCK'
MSGQUEUE = 'MSGQUEUE'
NICE = 'NICE'
NOFILE = 'NOFILE'
NPROC = 'NPROC'
RSS = 'RSS'
RTPRIO = 'RTPRIO'
RTTIME = 'RTTIME'
SIGPENDING = 'SIGPENDING'
STACK = 'STACK'