Class Ulimit
Sets limits for a resource with ulimit
on linux systems.
Inheritance
System.Object
Ulimit
Implements
Namespace: Amazon.CDK.AWS.Batch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class Ulimit : Object, IUlimit
Syntax (vb)
Public Class Ulimit
Inherits Object
Implements IUlimit
Remarks
Used by the Docker daemon.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Batch;
var ulimit = new Ulimit {
HardLimit = 123,
Name = UlimitName.CORE,
SoftLimit = 123
};
Synopsis
Constructors
Ulimit() |
Properties
HardLimit | The hard limit for this resource. |
Name | The resource to limit. |
SoftLimit | The reservation for this resource. |
Constructors
Ulimit()
public Ulimit()
Properties
HardLimit
The hard limit for this resource.
public double HardLimit { get; set; }
Property Value
System.Double
Remarks
The container will be terminated if it exceeds this limit.
Name
SoftLimit
The reservation for this resource.
public double SoftLimit { get; set; }
Property Value
System.Double
Remarks
The container will not be terminated if it exceeds this limit.