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

com.pulumi.awsnative.eks.kotlin.outputs.AccessEntryAccessScope.kt Maven / Gradle / Ivy

@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