
com.pulumi.awsnative.cloudtrail.kotlin.outputs.ChannelDestination.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.cloudtrail.kotlin.outputs
import com.pulumi.awsnative.cloudtrail.kotlin.enums.ChannelDestinationType
import kotlin.String
import kotlin.Suppress
/**
* The resource that receives events arriving from a channel.
* @property location The ARN of a resource that receives events from a channel.
* @property type The type of destination for events arriving from a channel.
*/
public data class ChannelDestination(
public val location: String,
public val type: ChannelDestinationType,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.cloudtrail.outputs.ChannelDestination): ChannelDestination = ChannelDestination(
location = javaType.location(),
type = javaType.type().let({ args0 ->
com.pulumi.awsnative.cloudtrail.kotlin.enums.ChannelDestinationType.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy