com.pulumi.aws.batch.kotlin.outputs.JobDefinitionEksPropertiesPodPropertiesContainersSecurityContext.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.batch.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.Suppress
/**
*
* @property privileged
* @property readOnlyRootFileSystem
* @property runAsGroup
* @property runAsNonRoot
* @property runAsUser
*/
public data class JobDefinitionEksPropertiesPodPropertiesContainersSecurityContext(
public val privileged: Boolean? = null,
public val readOnlyRootFileSystem: Boolean? = null,
public val runAsGroup: Int? = null,
public val runAsNonRoot: Boolean? = null,
public val runAsUser: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.batch.outputs.JobDefinitionEksPropertiesPodPropertiesContainersSecurityContext): JobDefinitionEksPropertiesPodPropertiesContainersSecurityContext =
JobDefinitionEksPropertiesPodPropertiesContainersSecurityContext(
privileged = javaType.privileged().map({ args0 -> args0 }).orElse(null),
readOnlyRootFileSystem = javaType.readOnlyRootFileSystem().map({ args0 -> args0 }).orElse(null),
runAsGroup = javaType.runAsGroup().map({ args0 -> args0 }).orElse(null),
runAsNonRoot = javaType.runAsNonRoot().map({ args0 -> args0 }).orElse(null),
runAsUser = javaType.runAsUser().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy