Show / Hide Table of Contents

Interface IUlimit

Sets limits for a resource with ulimit on linux systems.

Namespace: Amazon.CDK.AWS.Batch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IUlimit
Syntax (vb)
Public Interface 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

Properties

HardLimit

The hard limit for this resource.

Name

The resource to limit.

SoftLimit

The reservation for this resource.

Properties

HardLimit

The hard limit for this resource.

double HardLimit { get; }
Property Value

double

Remarks

The container will be terminated if it exceeds this limit.

Name

The resource to limit.

UlimitName Name { get; }
Property Value

UlimitName

Remarks

Used by the Docker daemon.

ExampleMetadata: fixture=_generated

SoftLimit

The reservation for this resource.

double SoftLimit { get; }
Property Value

double

Remarks

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

Back to top Generated by DocFX