![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.emrserverless.kotlin.outputs.ApplicationMaximumAllowedResources.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.emrserverless.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property cpu Per worker CPU resource. vCPU is the only supported unit and specifying vCPU is optional.
* @property disk Per worker Disk resource. GB is the only supported unit and specifying GB is optional
* @property memory Per worker memory resource. GB is the only supported unit and specifying GB is optional.
*/
public data class ApplicationMaximumAllowedResources(
public val cpu: String,
public val disk: String? = null,
public val memory: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.emrserverless.outputs.ApplicationMaximumAllowedResources): ApplicationMaximumAllowedResources = ApplicationMaximumAllowedResources(
cpu = javaType.cpu(),
disk = javaType.disk().map({ args0 -> args0 }).orElse(null),
memory = javaType.memory(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy