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

com.pulumi.aws.batch.kotlin.inputs.JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextArgs.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.JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property privileged
 * @property readOnlyRootFileSystem
 * @property runAsGroup
 * @property runAsNonRoot
 * @property runAsUser
 */
public data class JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextArgs(
    public val privileged: Output? = null,
    public val readOnlyRootFileSystem: Output? = null,
    public val runAsGroup: Output? = null,
    public val runAsNonRoot: Output? = null,
    public val runAsUser: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.batch.inputs.JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextArgs =
        com.pulumi.aws.batch.inputs.JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextArgs.builder()
            .privileged(privileged?.applyValue({ args0 -> args0 }))
            .readOnlyRootFileSystem(readOnlyRootFileSystem?.applyValue({ args0 -> args0 }))
            .runAsGroup(runAsGroup?.applyValue({ args0 -> args0 }))
            .runAsNonRoot(runAsNonRoot?.applyValue({ args0 -> args0 }))
            .runAsUser(runAsUser?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextArgs].
 */
@PulumiTagMarker
public class JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextArgsBuilder internal constructor() {
    private var privileged: Output? = null

    private var readOnlyRootFileSystem: Output? = null

    private var runAsGroup: Output? = null

    private var runAsNonRoot: Output? = null

    private var runAsUser: Output? = null

    /**
     * @param value
     */
    @JvmName("dnwdenyudxygpegb")
    public suspend fun privileged(`value`: Output) {
        this.privileged = value
    }

    /**
     * @param value
     */
    @JvmName("wpqilvkbftatuhyt")
    public suspend fun readOnlyRootFileSystem(`value`: Output) {
        this.readOnlyRootFileSystem = value
    }

    /**
     * @param value
     */
    @JvmName("ytawfrbwmxihxvvk")
    public suspend fun runAsGroup(`value`: Output) {
        this.runAsGroup = value
    }

    /**
     * @param value
     */
    @JvmName("exgughxwtndhnpfs")
    public suspend fun runAsNonRoot(`value`: Output) {
        this.runAsNonRoot = value
    }

    /**
     * @param value
     */
    @JvmName("mvfpnukwcfdjwsdi")
    public suspend fun runAsUser(`value`: Output) {
        this.runAsUser = value
    }

    /**
     * @param value
     */
    @JvmName("yidgxdrvrvvxfgkp")
    public suspend fun privileged(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.privileged = mapped
    }

    /**
     * @param value
     */
    @JvmName("cofobohofirdrexk")
    public suspend fun readOnlyRootFileSystem(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.readOnlyRootFileSystem = mapped
    }

    /**
     * @param value
     */
    @JvmName("nnkaeekymwsmumpx")
    public suspend fun runAsGroup(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.runAsGroup = mapped
    }

    /**
     * @param value
     */
    @JvmName("rqdkjjwmnncpvoda")
    public suspend fun runAsNonRoot(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.runAsNonRoot = mapped
    }

    /**
     * @param value
     */
    @JvmName("hsdcaqdhgoeoudsr")
    public suspend fun runAsUser(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.runAsUser = mapped
    }

    internal fun build(): JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextArgs =
        JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextArgs(
            privileged = privileged,
            readOnlyRootFileSystem = readOnlyRootFileSystem,
            runAsGroup = runAsGroup,
            runAsNonRoot = runAsNonRoot,
            runAsUser = runAsUser,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy