All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.ecs.kotlin.outputs.TaskDefinitionUlimit.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.ecs.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 * 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.
 * @property hardLimit The hard limit for the ``ulimit`` type.
 * @property name The ``type`` of the ``ulimit``.
 * @property softLimit The soft limit for the ``ulimit`` type.
 */
public data class TaskDefinitionUlimit(
    public val hardLimit: Int,
    public val name: String,
    public val softLimit: Int,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.ecs.outputs.TaskDefinitionUlimit): TaskDefinitionUlimit = TaskDefinitionUlimit(
            hardLimit = javaType.hardLimit(),
            name = javaType.name(),
            softLimit = javaType.softLimit(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy