com.pulumi.aws.eks.kotlin.inputs.AccessPolicyAssociationAccessScopeArgs.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.eks.kotlin.inputs
import com.pulumi.aws.eks.inputs.AccessPolicyAssociationAccessScopeArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property namespaces The namespaces to which the access scope applies when type is namespace.
* @property type Valid values are `namespace` or `cluster`.
*/
public data class AccessPolicyAssociationAccessScopeArgs(
public val namespaces: Output>? = null,
public val type: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.eks.inputs.AccessPolicyAssociationAccessScopeArgs =
com.pulumi.aws.eks.inputs.AccessPolicyAssociationAccessScopeArgs.builder()
.namespaces(namespaces?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.type(type.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AccessPolicyAssociationAccessScopeArgs].
*/
@PulumiTagMarker
public class AccessPolicyAssociationAccessScopeArgsBuilder internal constructor() {
private var namespaces: Output>? = null
private var type: Output? = null
/**
* @param value The namespaces to which the access scope applies when type is namespace.
*/
@JvmName("trpenndrxcylvkjk")
public suspend fun namespaces(`value`: Output>) {
this.namespaces = value
}
@JvmName("eclymdvagsflrluq")
public suspend fun namespaces(vararg values: Output) {
this.namespaces = Output.all(values.asList())
}
/**
* @param values The namespaces to which the access scope applies when type is namespace.
*/
@JvmName("hghomkywpeaebtis")
public suspend fun namespaces(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy