
com.pulumi.awsnative.events.kotlin.outputs.ConnectionAuthParameters.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.events.kotlin.outputs
import kotlin.Suppress
/**
*
* @property apiKeyAuthParameters The API Key parameters to use for authorization.
* @property basicAuthParameters The authorization parameters for Basic authorization.
* @property invocationHttpParameters Additional parameters for the connection that are passed through with every invocation to the HTTP endpoint.
* @property oAuthParameters The OAuth parameters to use for authorization.
*/
public data class ConnectionAuthParameters(
public val apiKeyAuthParameters: ConnectionApiKeyAuthParameters? = null,
public val basicAuthParameters: ConnectionBasicAuthParameters? = null,
public val invocationHttpParameters: ConnectionHttpParameters? = null,
public val oAuthParameters: ConnectionOAuthParameters? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.events.outputs.ConnectionAuthParameters): ConnectionAuthParameters = ConnectionAuthParameters(
apiKeyAuthParameters = javaType.apiKeyAuthParameters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.events.kotlin.outputs.ConnectionApiKeyAuthParameters.Companion.toKotlin(args0)
})
}).orElse(null),
basicAuthParameters = javaType.basicAuthParameters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.events.kotlin.outputs.ConnectionBasicAuthParameters.Companion.toKotlin(args0)
})
}).orElse(null),
invocationHttpParameters = javaType.invocationHttpParameters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.events.kotlin.outputs.ConnectionHttpParameters.Companion.toKotlin(args0)
})
}).orElse(null),
oAuthParameters = javaType.oAuthParameters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.events.kotlin.outputs.ConnectionOAuthParameters.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy