Class Ulimit
The ulimit settings to pass to the container.
Inheritance
System.Object
Ulimit
Implements
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class Ulimit : Object, IUlimit
Syntax (vb)
Public Class Ulimit
Inherits Object
Implements IUlimit
Remarks
NOTE: Does not work for Windows containers.
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.ECS;
var ulimit = new Ulimit {
HardLimit = 123,
Name = UlimitName.CORE,
SoftLimit = 123
};
Synopsis
Constructors
Ulimit() |
Properties
HardLimit | The hard limit for the ulimit type. |
Name | The type of the ulimit. |
SoftLimit | The soft limit for the ulimit type. |
Constructors
Ulimit()
public Ulimit()
Properties
HardLimit
The hard limit for the ulimit type.
public double HardLimit { get; set; }
Property Value
System.Double
Name
The type of the ulimit.
public UlimitName Name { get; set; }
Property Value
Remarks
For more information, see UlimitName.
SoftLimit
The soft limit for the ulimit type.
public double SoftLimit { get; set; }
Property Value
System.Double