Interface CfnDaemonTaskDefinition.UlimitProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDaemonTaskDefinition.UlimitProperty.Jsii$Proxy
- Enclosing class:
CfnDaemonTaskDefinition
@Stability(Stable)
public static interface CfnDaemonTaskDefinition.UlimitProperty
extends software.amazon.jsii.JsiiSerializable
The
ulimit settings to pass to the container.
Amazon ECS tasks hosted on FARGATElong use the default resource limit values set by the operating system with the exception of the nofile resource limit parameter which FARGATElong overrides. The nofile resource limit sets a restriction on the number of open files that a container can use. The default nofile soft limit is 65535 and the default hard limit is 65535.
You can specify the ulimit settings for a container in a task definition.
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.ecs.*;
UlimitProperty ulimitProperty = UlimitProperty.builder()
.hardLimit(123)
.name("name")
.softLimit(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDaemonTaskDefinition.UlimitPropertystatic final classAn implementation forCfnDaemonTaskDefinition.UlimitProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHardLimit
The hard limit for theulimittype.The value can be specified in bytes, seconds, or as a count, depending on the
typeof theulimit.- See Also:
-
getName
Thetypeof theulimit.- See Also:
-
getSoftLimit
The soft limit for theulimittype.The value can be specified in bytes, seconds, or as a count, depending on the
typeof theulimit.- See Also:
-
builder
-