
com.pulumi.awsnative.gamelift.kotlin.outputs.ContainerGroupDefinitionMemoryLimits.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.gamelift.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
/**
* Specifies how much memory is available to the container.
* @property hardLimit The hard limit of memory to reserve for the container.
* @property softLimit The amount of memory that is reserved for the container.
*/
public data class ContainerGroupDefinitionMemoryLimits(
public val hardLimit: Int? = null,
public val softLimit: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.gamelift.outputs.ContainerGroupDefinitionMemoryLimits): ContainerGroupDefinitionMemoryLimits = ContainerGroupDefinitionMemoryLimits(
hardLimit = javaType.hardLimit().map({ args0 -> args0 }).orElse(null),
softLimit = javaType.softLimit().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy