enum UlimitName
Language | Type name |
.NET | Amazon.CDK.AWS.ECS.UlimitName |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsecs#UlimitName |
Java | software.amazon.awscdk.services.ecs.UlimitName |
Python | aws_cdk.aws_ecs.UlimitName |
TypeScript (source) | aws-cdk-lib » aws_ecs » UlimitName |
Type of resource to set a limit on.
Example
const taskDefinition = new ecs.Ec2TaskDefinition(this, 'TaskDef');
taskDefinition.addContainer('TheContainer', {
image: ecs.ContainerImage.fromRegistry('example-image'),
ulimits: [{
hardLimit: 128,
name: ecs.UlimitName.RSS,
softLimit: 128,
}],
});
Members
Name | Description |
CORE |
CPU |
DATA |
FSIZE |
LOCKS |
MEMLOCK |
MSGQUEUE |
NICE |
NOFILE |
NPROC |
RSS |
RTPRIO |
RTTIME |
SIGPENDING |
STACK |
CORE
CPU
DATA
FSIZE
LOCKS
MEMLOCK
MSGQUEUE
NICE
NOFILE
NPROC
RSS
RTPRIO
RTTIME
SIGPENDING
STACK