TaskDefinitionUlimitArgs

data class TaskDefinitionUlimitArgs(val hardLimit: Output<Int>, val name: Output<String>, val softLimit: Output<Int>) : ConvertibleToJava<TaskDefinitionUlimitArgs>

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.

Constructors

Link copied to clipboard
constructor(hardLimit: Output<Int>, name: Output<String>, softLimit: Output<Int>)

Properties

Link copied to clipboard
val hardLimit: Output<Int>

The hard limit for the `ulimit` type. The value can be specified in bytes, seconds, or as a count, depending on the `type` of the `ulimit`.

Link copied to clipboard
val name: Output<String>

The `type` of the `ulimit`.

Link copied to clipboard
val softLimit: Output<Int>

The soft limit for the `ulimit` type. The value can be specified in bytes, seconds, or as a count, depending on the `type` of the `ulimit`.

Functions

Link copied to clipboard
open override fun toJava(): TaskDefinitionUlimitArgs