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

com.pulumi.gcp.integrationconnectors.kotlin.outputs.ConnectionEventingConfigAuthConfig.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.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.integrationconnectors.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property additionalVariables List containing additional auth configs.
 * Structure is documented below.
 * @property authKey The type of authentication configured.
 * @property authType authType of the Connection
 * Possible values are: `USER_PASSWORD`.
 * @property userPassword User password for Authentication.
 * Structure is documented below.
 */
public data class ConnectionEventingConfigAuthConfig(
    public val additionalVariables: List? =
        null,
    public val authKey: String? = null,
    public val authType: String,
    public val userPassword: ConnectionEventingConfigAuthConfigUserPassword,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.integrationconnectors.outputs.ConnectionEventingConfigAuthConfig): ConnectionEventingConfigAuthConfig = ConnectionEventingConfigAuthConfig(
            additionalVariables = javaType.additionalVariables().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.integrationconnectors.kotlin.outputs.ConnectionEventingConfigAuthConfigAdditionalVariable.Companion.toKotlin(args0)
                })
            }),
            authKey = javaType.authKey().map({ args0 -> args0 }).orElse(null),
            authType = javaType.authType(),
            userPassword = javaType.userPassword().let({ args0 ->
                com.pulumi.gcp.integrationconnectors.kotlin.outputs.ConnectionEventingConfigAuthConfigUserPassword.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy