
com.pulumi.awsnative.eks.kotlin.outputs.AccessEntryAccessScope.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.eks.kotlin.outputs
import com.pulumi.awsnative.eks.kotlin.enums.AccessEntryAccessScopeType
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* The access scope of the access policy.
* @property namespaces The namespaces to associate with the access scope. Only specify if Type is set to 'namespace'.
* @property type The type of the access scope.
*/
public data class AccessEntryAccessScope(
public val namespaces: List? = null,
public val type: AccessEntryAccessScopeType,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.eks.outputs.AccessEntryAccessScope): AccessEntryAccessScope = AccessEntryAccessScope(
namespaces = javaType.namespaces().map({ args0 -> args0 }),
type = javaType.type().let({ args0 ->
com.pulumi.awsnative.eks.kotlin.enums.AccessEntryAccessScopeType.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy