Interface Ulimit
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
Ulimit.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-09-11T18:01:12.092Z")
@Stability(Stable)
public interface Ulimit
extends software.amazon.jsii.JsiiSerializable
Sets limits for a resource with
ulimit
on linux systems.
Used by the Docker daemon.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.batch.*; Ulimit ulimit = Ulimit.builder() .hardLimit(123) .name(UlimitName.CORE) .softLimit(123) .build();
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Ulimit.Builder
builder()
The hard limit for this resource.getName()
The resource to limit.The reservation for this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHardLimit
The hard limit for this resource.The container will be terminated if it exceeds this limit.
-
getName
The resource to limit. -
getSoftLimit
The reservation for this resource.The container will not be terminated if it exceeds this limit.
-
builder
- Returns:
- a
Ulimit.Builder
ofUlimit
-