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

com.pulumi.googlenative.dataproc.v1beta2.kotlin.inputs.KerberosConfigArgs.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.dataproc.v1beta2.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.dataproc.v1beta2.inputs.KerberosConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Specifies Kerberos related configuration.
 * @property crossRealmTrustAdminServer Optional. The admin server (IP or hostname) for the remote trusted realm in a cross realm trust relationship.
 * @property crossRealmTrustKdc Optional. The KDC (IP or hostname) for the remote trusted realm in a cross realm trust relationship.
 * @property crossRealmTrustRealm Optional. The remote realm the Dataproc on-cluster KDC will trust, should the user enable cross realm trust.
 * @property crossRealmTrustSharedPasswordUri Optional. The Cloud Storage URI of a KMS encrypted file containing the shared password between the on-cluster Kerberos realm and the remote trusted realm, in a cross realm trust relationship.
 * @property enableKerberos Optional. Flag to indicate whether to Kerberize the cluster (default: false). Set this field to true to enable Kerberos on a cluster.
 * @property kdcDbKeyUri Optional. The Cloud Storage URI of a KMS encrypted file containing the master key of the KDC database.
 * @property keyPasswordUri Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided key. For the self-signed certificate, this password is generated by Dataproc.
 * @property keystorePasswordUri Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided keystore. For the self-signed certificate, this password is generated by Dataproc.
 * @property keystoreUri Optional. The Cloud Storage URI of the keystore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.
 * @property kmsKeyUri Optional. The uri of the KMS key used to encrypt various sensitive files.
 * @property realm Optional. The name of the on-cluster Kerberos realm. If not specified, the uppercased domain of hostnames will be the realm.
 * @property rootPrincipalPasswordUri Optional. The Cloud Storage URI of a KMS encrypted file containing the root principal password.
 * @property tgtLifetimeHours Optional. The lifetime of the ticket granting ticket, in hours. If not specified, or user specifies 0, then default value 10 will be used.
 * @property truststorePasswordUri Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided truststore. For the self-signed certificate, this password is generated by Dataproc.
 * @property truststoreUri Optional. The Cloud Storage URI of the truststore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.
 */
public data class KerberosConfigArgs(
    public val crossRealmTrustAdminServer: Output? = null,
    public val crossRealmTrustKdc: Output? = null,
    public val crossRealmTrustRealm: Output? = null,
    public val crossRealmTrustSharedPasswordUri: Output? = null,
    public val enableKerberos: Output? = null,
    public val kdcDbKeyUri: Output? = null,
    public val keyPasswordUri: Output? = null,
    public val keystorePasswordUri: Output? = null,
    public val keystoreUri: Output? = null,
    public val kmsKeyUri: Output? = null,
    public val realm: Output? = null,
    public val rootPrincipalPasswordUri: Output? = null,
    public val tgtLifetimeHours: Output? = null,
    public val truststorePasswordUri: Output? = null,
    public val truststoreUri: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.googlenative.dataproc.v1beta2.inputs.KerberosConfigArgs =
        com.pulumi.googlenative.dataproc.v1beta2.inputs.KerberosConfigArgs.builder()
            .crossRealmTrustAdminServer(crossRealmTrustAdminServer?.applyValue({ args0 -> args0 }))
            .crossRealmTrustKdc(crossRealmTrustKdc?.applyValue({ args0 -> args0 }))
            .crossRealmTrustRealm(crossRealmTrustRealm?.applyValue({ args0 -> args0 }))
            .crossRealmTrustSharedPasswordUri(crossRealmTrustSharedPasswordUri?.applyValue({ args0 -> args0 }))
            .enableKerberos(enableKerberos?.applyValue({ args0 -> args0 }))
            .kdcDbKeyUri(kdcDbKeyUri?.applyValue({ args0 -> args0 }))
            .keyPasswordUri(keyPasswordUri?.applyValue({ args0 -> args0 }))
            .keystorePasswordUri(keystorePasswordUri?.applyValue({ args0 -> args0 }))
            .keystoreUri(keystoreUri?.applyValue({ args0 -> args0 }))
            .kmsKeyUri(kmsKeyUri?.applyValue({ args0 -> args0 }))
            .realm(realm?.applyValue({ args0 -> args0 }))
            .rootPrincipalPasswordUri(rootPrincipalPasswordUri?.applyValue({ args0 -> args0 }))
            .tgtLifetimeHours(tgtLifetimeHours?.applyValue({ args0 -> args0 }))
            .truststorePasswordUri(truststorePasswordUri?.applyValue({ args0 -> args0 }))
            .truststoreUri(truststoreUri?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [KerberosConfigArgs].
 */
@PulumiTagMarker
public class KerberosConfigArgsBuilder internal constructor() {
    private var crossRealmTrustAdminServer: Output? = null

    private var crossRealmTrustKdc: Output? = null

    private var crossRealmTrustRealm: Output? = null

    private var crossRealmTrustSharedPasswordUri: Output? = null

    private var enableKerberos: Output? = null

    private var kdcDbKeyUri: Output? = null

    private var keyPasswordUri: Output? = null

    private var keystorePasswordUri: Output? = null

    private var keystoreUri: Output? = null

    private var kmsKeyUri: Output? = null

    private var realm: Output? = null

    private var rootPrincipalPasswordUri: Output? = null

    private var tgtLifetimeHours: Output? = null

    private var truststorePasswordUri: Output? = null

    private var truststoreUri: Output? = null

    /**
     * @param value Optional. The admin server (IP or hostname) for the remote trusted realm in a cross realm trust relationship.
     */
    @JvmName("gcxpypadmovajaxk")
    public suspend fun crossRealmTrustAdminServer(`value`: Output) {
        this.crossRealmTrustAdminServer = value
    }

    /**
     * @param value Optional. The KDC (IP or hostname) for the remote trusted realm in a cross realm trust relationship.
     */
    @JvmName("ngmdqjutxjgihehm")
    public suspend fun crossRealmTrustKdc(`value`: Output) {
        this.crossRealmTrustKdc = value
    }

    /**
     * @param value Optional. The remote realm the Dataproc on-cluster KDC will trust, should the user enable cross realm trust.
     */
    @JvmName("wngbtjmxgodctlhm")
    public suspend fun crossRealmTrustRealm(`value`: Output) {
        this.crossRealmTrustRealm = value
    }

    /**
     * @param value Optional. The Cloud Storage URI of a KMS encrypted file containing the shared password between the on-cluster Kerberos realm and the remote trusted realm, in a cross realm trust relationship.
     */
    @JvmName("knibpxklefcokgfx")
    public suspend fun crossRealmTrustSharedPasswordUri(`value`: Output) {
        this.crossRealmTrustSharedPasswordUri = value
    }

    /**
     * @param value Optional. Flag to indicate whether to Kerberize the cluster (default: false). Set this field to true to enable Kerberos on a cluster.
     */
    @JvmName("bdjgxusadfuvcscl")
    public suspend fun enableKerberos(`value`: Output) {
        this.enableKerberos = value
    }

    /**
     * @param value Optional. The Cloud Storage URI of a KMS encrypted file containing the master key of the KDC database.
     */
    @JvmName("inohrgyjibyqfqjs")
    public suspend fun kdcDbKeyUri(`value`: Output) {
        this.kdcDbKeyUri = value
    }

    /**
     * @param value Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided key. For the self-signed certificate, this password is generated by Dataproc.
     */
    @JvmName("oypoafcwnhotpmda")
    public suspend fun keyPasswordUri(`value`: Output) {
        this.keyPasswordUri = value
    }

    /**
     * @param value Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided keystore. For the self-signed certificate, this password is generated by Dataproc.
     */
    @JvmName("qvwkvdbixisqteyd")
    public suspend fun keystorePasswordUri(`value`: Output) {
        this.keystorePasswordUri = value
    }

    /**
     * @param value Optional. The Cloud Storage URI of the keystore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.
     */
    @JvmName("abiyrpmxokuugcds")
    public suspend fun keystoreUri(`value`: Output) {
        this.keystoreUri = value
    }

    /**
     * @param value Optional. The uri of the KMS key used to encrypt various sensitive files.
     */
    @JvmName("mdettrvffvlnqqgf")
    public suspend fun kmsKeyUri(`value`: Output) {
        this.kmsKeyUri = value
    }

    /**
     * @param value Optional. The name of the on-cluster Kerberos realm. If not specified, the uppercased domain of hostnames will be the realm.
     */
    @JvmName("vwrolfhyrabrcxpa")
    public suspend fun realm(`value`: Output) {
        this.realm = value
    }

    /**
     * @param value Optional. The Cloud Storage URI of a KMS encrypted file containing the root principal password.
     */
    @JvmName("bsplcqnibxmjvdxg")
    public suspend fun rootPrincipalPasswordUri(`value`: Output) {
        this.rootPrincipalPasswordUri = value
    }

    /**
     * @param value Optional. The lifetime of the ticket granting ticket, in hours. If not specified, or user specifies 0, then default value 10 will be used.
     */
    @JvmName("vpxrbfpispvnfdtr")
    public suspend fun tgtLifetimeHours(`value`: Output) {
        this.tgtLifetimeHours = value
    }

    /**
     * @param value Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided truststore. For the self-signed certificate, this password is generated by Dataproc.
     */
    @JvmName("fuoiphlonbieoecs")
    public suspend fun truststorePasswordUri(`value`: Output) {
        this.truststorePasswordUri = value
    }

    /**
     * @param value Optional. The Cloud Storage URI of the truststore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.
     */
    @JvmName("xhgmivchksxjdskd")
    public suspend fun truststoreUri(`value`: Output) {
        this.truststoreUri = value
    }

    /**
     * @param value Optional. The admin server (IP or hostname) for the remote trusted realm in a cross realm trust relationship.
     */
    @JvmName("wjkqdkgnibcnynqi")
    public suspend fun crossRealmTrustAdminServer(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.crossRealmTrustAdminServer = mapped
    }

    /**
     * @param value Optional. The KDC (IP or hostname) for the remote trusted realm in a cross realm trust relationship.
     */
    @JvmName("vbikjqfbwdmnolel")
    public suspend fun crossRealmTrustKdc(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.crossRealmTrustKdc = mapped
    }

    /**
     * @param value Optional. The remote realm the Dataproc on-cluster KDC will trust, should the user enable cross realm trust.
     */
    @JvmName("gamlrendkdwrmhkt")
    public suspend fun crossRealmTrustRealm(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.crossRealmTrustRealm = mapped
    }

    /**
     * @param value Optional. The Cloud Storage URI of a KMS encrypted file containing the shared password between the on-cluster Kerberos realm and the remote trusted realm, in a cross realm trust relationship.
     */
    @JvmName("rwiidnghtpuoartu")
    public suspend fun crossRealmTrustSharedPasswordUri(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.crossRealmTrustSharedPasswordUri = mapped
    }

    /**
     * @param value Optional. Flag to indicate whether to Kerberize the cluster (default: false). Set this field to true to enable Kerberos on a cluster.
     */
    @JvmName("gfkevhvgldbdpwnu")
    public suspend fun enableKerberos(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enableKerberos = mapped
    }

    /**
     * @param value Optional. The Cloud Storage URI of a KMS encrypted file containing the master key of the KDC database.
     */
    @JvmName("ofkgorbcoktkiwnw")
    public suspend fun kdcDbKeyUri(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.kdcDbKeyUri = mapped
    }

    /**
     * @param value Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided key. For the self-signed certificate, this password is generated by Dataproc.
     */
    @JvmName("ismafdpsgjqvkurf")
    public suspend fun keyPasswordUri(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.keyPasswordUri = mapped
    }

    /**
     * @param value Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided keystore. For the self-signed certificate, this password is generated by Dataproc.
     */
    @JvmName("fynaqgpivbhkbrkq")
    public suspend fun keystorePasswordUri(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.keystorePasswordUri = mapped
    }

    /**
     * @param value Optional. The Cloud Storage URI of the keystore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.
     */
    @JvmName("muwmmccpuftkyqvs")
    public suspend fun keystoreUri(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.keystoreUri = mapped
    }

    /**
     * @param value Optional. The uri of the KMS key used to encrypt various sensitive files.
     */
    @JvmName("gbfvvtyeklefifru")
    public suspend fun kmsKeyUri(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.kmsKeyUri = mapped
    }

    /**
     * @param value Optional. The name of the on-cluster Kerberos realm. If not specified, the uppercased domain of hostnames will be the realm.
     */
    @JvmName("kqeijuqevkwxwfsg")
    public suspend fun realm(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.realm = mapped
    }

    /**
     * @param value Optional. The Cloud Storage URI of a KMS encrypted file containing the root principal password.
     */
    @JvmName("dlxcjskwakdlhkja")
    public suspend fun rootPrincipalPasswordUri(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.rootPrincipalPasswordUri = mapped
    }

    /**
     * @param value Optional. The lifetime of the ticket granting ticket, in hours. If not specified, or user specifies 0, then default value 10 will be used.
     */
    @JvmName("kmvlkojjhlqjeyvm")
    public suspend fun tgtLifetimeHours(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tgtLifetimeHours = mapped
    }

    /**
     * @param value Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided truststore. For the self-signed certificate, this password is generated by Dataproc.
     */
    @JvmName("gcggsdwcjvrmwusl")
    public suspend fun truststorePasswordUri(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.truststorePasswordUri = mapped
    }

    /**
     * @param value Optional. The Cloud Storage URI of the truststore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.
     */
    @JvmName("spedqrvfgbmqwsox")
    public suspend fun truststoreUri(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.truststoreUri = mapped
    }

    internal fun build(): KerberosConfigArgs = KerberosConfigArgs(
        crossRealmTrustAdminServer = crossRealmTrustAdminServer,
        crossRealmTrustKdc = crossRealmTrustKdc,
        crossRealmTrustRealm = crossRealmTrustRealm,
        crossRealmTrustSharedPasswordUri = crossRealmTrustSharedPasswordUri,
        enableKerberos = enableKerberos,
        kdcDbKeyUri = kdcDbKeyUri,
        keyPasswordUri = keyPasswordUri,
        keystorePasswordUri = keystorePasswordUri,
        keystoreUri = keystoreUri,
        kmsKeyUri = kmsKeyUri,
        realm = realm,
        rootPrincipalPasswordUri = rootPrincipalPasswordUri,
        tgtLifetimeHours = tgtLifetimeHours,
        truststorePasswordUri = truststorePasswordUri,
        truststoreUri = truststoreUri,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy