
com.pulumi.awsnative.emrserverless.kotlin.outputs.ApplicationWorkerConfiguration.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 diskType Per worker DiskType resource. Shuffle optimized and Standard are only supported types and specifying diskType is optional
* @property memory Per worker memory resource. GB is the only supported unit and specifying GB is optional.
*/
public data class ApplicationWorkerConfiguration(
public val cpu: String,
public val disk: String? = null,
public val diskType: String? = null,
public val memory: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.emrserverless.outputs.ApplicationWorkerConfiguration): ApplicationWorkerConfiguration = ApplicationWorkerConfiguration(
cpu = javaType.cpu(),
disk = javaType.disk().map({ args0 -> args0 }).orElse(null),
diskType = javaType.diskType().map({ args0 -> args0 }).orElse(null),
memory = javaType.memory(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy