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

com.pulumi.aws.emrserverless.kotlin.outputs.ApplicationInitialCapacityInitialCapacityConfigWorkerConfiguration.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.emrserverless.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property cpu The CPU requirements for every worker instance of the worker type.
 * @property disk The disk requirements for every worker instance of the worker type.
 * @property memory The memory requirements for every worker instance of the worker type.
 */
public data class ApplicationInitialCapacityInitialCapacityConfigWorkerConfiguration(
    public val cpu: String,
    public val disk: String? = null,
    public val memory: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.emrserverless.outputs.ApplicationInitialCapacityInitialCapacityConfigWorkerConfiguration): ApplicationInitialCapacityInitialCapacityConfigWorkerConfiguration =
            ApplicationInitialCapacityInitialCapacityConfigWorkerConfiguration(
                cpu = javaType.cpu(),
                disk = javaType.disk().map({ args0 -> args0 }).orElse(null),
                memory = javaType.memory(),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy