Show / Hide Table of Contents

Class Ulimit

Sets limits for a resource with ulimit on linux systems.

Inheritance
object
Ulimit
Implements
IUlimit
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Batch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class Ulimit : IUlimit
Syntax (vb)
Public Class Ulimit 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()

Sets limits for a resource with ulimit on linux systems.

Properties

HardLimit

The hard limit for this resource.

Name

The resource to limit.

SoftLimit

The reservation for this resource.

Constructors

Ulimit()

Sets limits for a resource with ulimit on linux systems.

public Ulimit()
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
             };

Properties

HardLimit

The hard limit for this resource.

public double HardLimit { get; set; }
Property Value

double

Remarks

The container will be terminated if it exceeds this limit.

Name

The resource to limit.

public UlimitName Name { get; set; }
Property Value

UlimitName

Remarks

Used by the Docker daemon.

ExampleMetadata: fixture=_generated

SoftLimit

The reservation for this resource.

public double SoftLimit { get; set; }
Property Value

double

Remarks

The container will not be terminated if it exceeds this limit.

Implements

IUlimit
Back to top Generated by DocFX