Class UlimitName
Type of resource to set a limit on.
Inheritance
System.Object
UlimitName
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public sealed class UlimitName : Enum
Syntax (vb)
Public NotInheritable Class UlimitName
Inherits
Enum
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 | |
CPU | |
DATA | |
FSIZE | |
LOCKS | |
MEMLOCK | |
MSGQUEUE | |
NICE | |
NOFILE | |
NPROC | |
RSS | |
RTPRIO | |
RTTIME | |
SIGPENDING | |
STACK | |
value__ |
Fields
CORE
CPU
DATA
FSIZE
LOCKS
MEMLOCK
MSGQUEUE
NICE
NOFILE
NPROC
RSS
RTPRIO
RTTIME
SIGPENDING
STACK
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |