Enum UlimitName
Type of resource to set a limit on.
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public enum UlimitName
Syntax (vb)
Public Enum UlimitName
Remarks
ExampleMetadata: infused
Examples
var taskDefinition = new Ec2TaskDefinition(this, "TaskDef");
taskDefinition.AddContainer("TheContainer", new ContainerDefinitionOptions {
Image = ContainerImage.FromRegistry("example-image"),
Ulimits = new [] { new Ulimit {
HardLimit = 128,
Name = UlimitName.RSS,
SoftLimit = 128
} }
});
Synopsis
Fields
CORE | Type of resource to set a limit on. |
CPU | Type of resource to set a limit on. |
DATA | Type of resource to set a limit on. |
FSIZE | Type of resource to set a limit on. |
LOCKS | Type of resource to set a limit on. |
MEMLOCK | Type of resource to set a limit on. |
MSGQUEUE | Type of resource to set a limit on. |
NICE | Type of resource to set a limit on. |
NOFILE | Type of resource to set a limit on. |
NPROC | Type of resource to set a limit on. |
RSS | Type of resource to set a limit on. |
RTPRIO | Type of resource to set a limit on. |
RTTIME | Type of resource to set a limit on. |
SIGPENDING | Type of resource to set a limit on. |
STACK | Type of resource to set a limit on. |
Fields
Name | Description |
---|---|
CORE | Type of resource to set a limit on. |
CPU | Type of resource to set a limit on. |
DATA | Type of resource to set a limit on. |
FSIZE | Type of resource to set a limit on. |
LOCKS | Type of resource to set a limit on. |
MEMLOCK | Type of resource to set a limit on. |
MSGQUEUE | Type of resource to set a limit on. |
NICE | Type of resource to set a limit on. |
NOFILE | Type of resource to set a limit on. |
NPROC | Type of resource to set a limit on. |
RSS | Type of resource to set a limit on. |
RTPRIO | Type of resource to set a limit on. |
RTTIME | Type of resource to set a limit on. |
SIGPENDING | Type of resource to set a limit on. |
STACK | Type of resource to set a limit on. |