com.pulumi.awsnative.ses.kotlin.outputs.ConfigurationSetEventDestinationEventDestination.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.ses.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property cloudWatchDestination An object that contains the names, default values, and sources of the dimensions associated with an Amazon CloudWatch event destination.
* @property enabled Sets whether Amazon SES publishes events to this destination when you send an email with the associated configuration set. Set to true to enable publishing to this destination; set to false to prevent publishing to this destination. The default value is false.
* @property eventBridgeDestination An object that contains Event bus ARN associated with the event bridge destination.
* @property kinesisFirehoseDestination An object that contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis Firehose event destination.
* @property matchingEventTypes The type of email sending events, send, reject, bounce, complaint, delivery, open, click, renderingFailure, deliveryDelay, and subscription.
* @property name The name of the event destination set.
* @property snsDestination An object that contains SNS topic ARN associated event destination.
*/
public data class ConfigurationSetEventDestinationEventDestination(
public val cloudWatchDestination: ConfigurationSetEventDestinationCloudWatchDestination? = null,
public val enabled: Boolean? = null,
public val eventBridgeDestination: ConfigurationSetEventDestinationEventBridgeDestination? = null,
public val kinesisFirehoseDestination: ConfigurationSetEventDestinationKinesisFirehoseDestination? =
null,
public val matchingEventTypes: List,
public val name: String? = null,
public val snsDestination: ConfigurationSetEventDestinationSnsDestination? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ses.outputs.ConfigurationSetEventDestinationEventDestination): ConfigurationSetEventDestinationEventDestination =
ConfigurationSetEventDestinationEventDestination(
cloudWatchDestination = javaType.cloudWatchDestination().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ses.kotlin.outputs.ConfigurationSetEventDestinationCloudWatchDestination.Companion.toKotlin(args0)
})
}).orElse(null),
enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
eventBridgeDestination = javaType.eventBridgeDestination().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ses.kotlin.outputs.ConfigurationSetEventDestinationEventBridgeDestination.Companion.toKotlin(args0)
})
}).orElse(null),
kinesisFirehoseDestination = javaType.kinesisFirehoseDestination().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ses.kotlin.outputs.ConfigurationSetEventDestinationKinesisFirehoseDestination.Companion.toKotlin(args0)
})
}).orElse(null),
matchingEventTypes = javaType.matchingEventTypes().map({ args0 -> args0 }),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
snsDestination = javaType.snsDestination().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ses.kotlin.outputs.ConfigurationSetEventDestinationSnsDestination.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}