![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.events.kotlin.outputs.GetConnectionResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.events.kotlin.outputs
import com.pulumi.awsnative.events.kotlin.enums.ConnectionAuthorizationType
import kotlin.String
import kotlin.Suppress
/**
*
* @property arn The arn of the connection resource.
* @property authorizationType The type of authorization to use for the connection.
* > OAUTH tokens are refreshed when a 401 or 407 response is returned.
* @property description Description of the connection.
* @property secretArn The arn of the secrets manager secret created in the customer account.
*/
public data class GetConnectionResult(
public val arn: String? = null,
public val authorizationType: ConnectionAuthorizationType? = null,
public val description: String? = null,
public val secretArn: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.events.outputs.GetConnectionResult): GetConnectionResult = GetConnectionResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
authorizationType = javaType.authorizationType().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.events.kotlin.enums.ConnectionAuthorizationType.Companion.toKotlin(args0)
})
}).orElse(null),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
secretArn = javaType.secretArn().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy