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

com.pulumi.gcp.dataproc.kotlin.outputs.WorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig.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.

There is a newer version: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.dataproc.kotlin.outputs

import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property crossRealmTrustAdminServer The admin server (IP or hostname) for the remote trusted realm in a cross realm trust relationship.
 * @property crossRealmTrustKdc The KDC (IP or hostname) for the remote trusted realm in a cross realm trust relationship.
 * @property crossRealmTrustRealm The remote realm the Dataproc on-cluster KDC will trust, should the user enable cross realm trust.
 * @property crossRealmTrustSharedPassword 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 Flag to indicate whether to Kerberize the cluster (default: false). Set this field to true to enable Kerberos on a cluster.
 * @property kdcDbKey The Cloud Storage URI of a KMS encrypted file containing the master key of the KDC database.
 * @property keyPassword 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 keystore The Cloud Storage URI of the keystore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.
 * @property keystorePassword 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 kmsKey The uri of the KMS key used to encrypt various sensitive files.
 * @property realm The name of the on-cluster Kerberos realm. If not specified, the uppercased domain of hostnames will be the realm.
 * @property rootPrincipalPassword The Cloud Storage URI of a KMS encrypted file containing the root principal password.
 * @property tgtLifetimeHours The lifetime of the ticket granting ticket, in hours. If not specified, or user specifies 0, then default value 10 will be used.
 * @property truststore The Cloud Storage URI of the truststore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.
 * @property truststorePassword 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.
 */
public data class WorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig(
    public val crossRealmTrustAdminServer: String? = null,
    public val crossRealmTrustKdc: String? = null,
    public val crossRealmTrustRealm: String? = null,
    public val crossRealmTrustSharedPassword: String? = null,
    public val enableKerberos: Boolean? = null,
    public val kdcDbKey: String? = null,
    public val keyPassword: String? = null,
    public val keystore: String? = null,
    public val keystorePassword: String? = null,
    public val kmsKey: String? = null,
    public val realm: String? = null,
    public val rootPrincipalPassword: String? = null,
    public val tgtLifetimeHours: Int? = null,
    public val truststore: String? = null,
    public val truststorePassword: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.dataproc.outputs.WorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig): WorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig =
            WorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig(
                crossRealmTrustAdminServer = javaType.crossRealmTrustAdminServer().map({ args0 ->
                    args0
                }).orElse(null),
                crossRealmTrustKdc = javaType.crossRealmTrustKdc().map({ args0 -> args0 }).orElse(null),
                crossRealmTrustRealm = javaType.crossRealmTrustRealm().map({ args0 -> args0 }).orElse(null),
                crossRealmTrustSharedPassword = javaType.crossRealmTrustSharedPassword().map({ args0 ->
                    args0
                }).orElse(null),
                enableKerberos = javaType.enableKerberos().map({ args0 -> args0 }).orElse(null),
                kdcDbKey = javaType.kdcDbKey().map({ args0 -> args0 }).orElse(null),
                keyPassword = javaType.keyPassword().map({ args0 -> args0 }).orElse(null),
                keystore = javaType.keystore().map({ args0 -> args0 }).orElse(null),
                keystorePassword = javaType.keystorePassword().map({ args0 -> args0 }).orElse(null),
                kmsKey = javaType.kmsKey().map({ args0 -> args0 }).orElse(null),
                realm = javaType.realm().map({ args0 -> args0 }).orElse(null),
                rootPrincipalPassword = javaType.rootPrincipalPassword().map({ args0 -> args0 }).orElse(null),
                tgtLifetimeHours = javaType.tgtLifetimeHours().map({ args0 -> args0 }).orElse(null),
                truststore = javaType.truststore().map({ args0 -> args0 }).orElse(null),
                truststorePassword = javaType.truststorePassword().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy