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

com.pulumi.awsnative.cloudtrail.kotlin.outputs.ChannelDestination.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: 1.24.0.0
Show newest version
@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