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

com.pulumi.aws.batch.kotlin.outputs.JobDefinitionEksPropertiesPodPropertiesContainersSecurityContext.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.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