
com.pulumi.aws.batch.kotlin.inputs.JobDefinitionEksPropertiesPodPropertiesInitContainerSecurityContextArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.batch.kotlin.inputs
import com.pulumi.aws.batch.inputs.JobDefinitionEksPropertiesPodPropertiesInitContainerSecurityContextArgs.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 JobDefinitionEksPropertiesPodPropertiesInitContainerSecurityContextArgs(
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.JobDefinitionEksPropertiesPodPropertiesInitContainerSecurityContextArgs =
com.pulumi.aws.batch.inputs.JobDefinitionEksPropertiesPodPropertiesInitContainerSecurityContextArgs.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 [JobDefinitionEksPropertiesPodPropertiesInitContainerSecurityContextArgs].
*/
@PulumiTagMarker
public class JobDefinitionEksPropertiesPodPropertiesInitContainerSecurityContextArgsBuilder 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("otmpucohstulvvwd")
public suspend fun privileged(`value`: Output) {
this.privileged = value
}
/**
* @param value
*/
@JvmName("pqrwgyqgjbgbbfdd")
public suspend fun readOnlyRootFileSystem(`value`: Output) {
this.readOnlyRootFileSystem = value
}
/**
* @param value
*/
@JvmName("vijjjpumfxoiymhk")
public suspend fun runAsGroup(`value`: Output) {
this.runAsGroup = value
}
/**
* @param value
*/
@JvmName("ytlxlyvmhwddvhms")
public suspend fun runAsNonRoot(`value`: Output) {
this.runAsNonRoot = value
}
/**
* @param value
*/
@JvmName("bsshcvsmbqjpttel")
public suspend fun runAsUser(`value`: Output) {
this.runAsUser = value
}
/**
* @param value
*/
@JvmName("byjpitgdltvhtmpm")
public suspend fun privileged(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.privileged = mapped
}
/**
* @param value
*/
@JvmName("sldwkqnahvfqssvi")
public suspend fun readOnlyRootFileSystem(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.readOnlyRootFileSystem = mapped
}
/**
* @param value
*/
@JvmName("plsellxmlujrosjm")
public suspend fun runAsGroup(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.runAsGroup = mapped
}
/**
* @param value
*/
@JvmName("hrfhyvhsjlildcaj")
public suspend fun runAsNonRoot(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.runAsNonRoot = mapped
}
/**
* @param value
*/
@JvmName("sdyvyjsmxxyfgkdy")
public suspend fun runAsUser(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.runAsUser = mapped
}
internal fun build(): JobDefinitionEksPropertiesPodPropertiesInitContainerSecurityContextArgs =
JobDefinitionEksPropertiesPodPropertiesInitContainerSecurityContextArgs(
privileged = privileged,
readOnlyRootFileSystem = readOnlyRootFileSystem,
runAsGroup = runAsGroup,
runAsNonRoot = runAsNonRoot,
runAsUser = runAsUser,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy