com.pulumi.gcp.integrationconnectors.kotlin.outputs.ConnectionEventingConfigAuthConfig.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.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