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

com.pulumi.aws.batch.kotlin.inputs.JobDefinitionEksPropertiesArgs.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.batch.kotlin.inputs

import com.pulumi.aws.batch.inputs.JobDefinitionEksPropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property podProperties Properties for the Kubernetes pod resources of a job. See `pod_properties` below.
 */
public data class JobDefinitionEksPropertiesArgs(
    public val podProperties: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.batch.inputs.JobDefinitionEksPropertiesArgs =
        com.pulumi.aws.batch.inputs.JobDefinitionEksPropertiesArgs.builder()
            .podProperties(podProperties.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [JobDefinitionEksPropertiesArgs].
 */
@PulumiTagMarker
public class JobDefinitionEksPropertiesArgsBuilder internal constructor() {
    private var podProperties: Output? = null

    /**
     * @param value Properties for the Kubernetes pod resources of a job. See `pod_properties` below.
     */
    @JvmName("uxyspwnixviyclmp")
    public suspend fun podProperties(`value`: Output) {
        this.podProperties = value
    }

    /**
     * @param value Properties for the Kubernetes pod resources of a job. See `pod_properties` below.
     */
    @JvmName("gprfjfxpjlahpmmx")
    public suspend fun podProperties(`value`: JobDefinitionEksPropertiesPodPropertiesArgs) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.podProperties = mapped
    }

    /**
     * @param argument Properties for the Kubernetes pod resources of a job. See `pod_properties` below.
     */
    @JvmName("ftanbholhcoytwgr")
    public suspend fun podProperties(argument: suspend JobDefinitionEksPropertiesPodPropertiesArgsBuilder.() -> Unit) {
        val toBeMapped = JobDefinitionEksPropertiesPodPropertiesArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.podProperties = mapped
    }

    internal fun build(): JobDefinitionEksPropertiesArgs = JobDefinitionEksPropertiesArgs(
        podProperties = podProperties ?: throw PulumiNullFieldException("podProperties"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy