
com.pulumi.awsnative.eks.kotlin.inputs.ClusterAccessConfigArgs.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.inputs
import com.pulumi.awsnative.eks.inputs.ClusterAccessConfigArgs.builder
import com.pulumi.awsnative.eks.kotlin.enums.ClusterAccessConfigAuthenticationMode
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* An object representing the Access Config to use for the cluster.
* @property authenticationMode Specify the authentication mode that should be used to create your cluster.
* @property bootstrapClusterCreatorAdminPermissions Set this value to false to avoid creating a default cluster admin Access Entry using the IAM principal used to create the cluster.
*/
public data class ClusterAccessConfigArgs(
public val authenticationMode: Output? = null,
public val bootstrapClusterCreatorAdminPermissions: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.eks.inputs.ClusterAccessConfigArgs =
com.pulumi.awsnative.eks.inputs.ClusterAccessConfigArgs.builder()
.authenticationMode(
authenticationMode?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.bootstrapClusterCreatorAdminPermissions(
bootstrapClusterCreatorAdminPermissions?.applyValue({ args0 ->
args0
}),
).build()
}
/**
* Builder for [ClusterAccessConfigArgs].
*/
@PulumiTagMarker
public class ClusterAccessConfigArgsBuilder internal constructor() {
private var authenticationMode: Output? = null
private var bootstrapClusterCreatorAdminPermissions: Output? = null
/**
* @param value Specify the authentication mode that should be used to create your cluster.
*/
@JvmName("muhcsrairgtfycdy")
public suspend fun authenticationMode(`value`: Output) {
this.authenticationMode = value
}
/**
* @param value Set this value to false to avoid creating a default cluster admin Access Entry using the IAM principal used to create the cluster.
*/
@JvmName("xouobiddpkjdkuka")
public suspend fun bootstrapClusterCreatorAdminPermissions(`value`: Output) {
this.bootstrapClusterCreatorAdminPermissions = value
}
/**
* @param value Specify the authentication mode that should be used to create your cluster.
*/
@JvmName("ybpqcrppbaurxdiy")
public suspend fun authenticationMode(`value`: ClusterAccessConfigAuthenticationMode?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.authenticationMode = mapped
}
/**
* @param value Set this value to false to avoid creating a default cluster admin Access Entry using the IAM principal used to create the cluster.
*/
@JvmName("ufclkueyktsvoeiw")
public suspend fun bootstrapClusterCreatorAdminPermissions(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.bootstrapClusterCreatorAdminPermissions = mapped
}
internal fun build(): ClusterAccessConfigArgs = ClusterAccessConfigArgs(
authenticationMode = authenticationMode,
bootstrapClusterCreatorAdminPermissions = bootstrapClusterCreatorAdminPermissions,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy