com.pulumi.aws.sesv2.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-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.sesv2.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property cloudWatchDestination An object that defines an Amazon CloudWatch destination for email events. See `cloud_watch_destination` Block for details.
* @property enabled When the event destination is enabled, the specified event types are sent to the destinations. Default: `false`.
* @property eventBridgeDestination
* @property kinesisFirehoseDestination An object that defines an Amazon Kinesis Data Firehose destination for email events. See `kinesis_firehose_destination` Block for details.
* @property matchingEventTypes An array that specifies which events the Amazon SES API v2 should send to the destinations. Valid values: `SEND`, `REJECT`, `BOUNCE`, `COMPLAINT`, `DELIVERY`, `OPEN`, `CLICK`, `RENDERING_FAILURE`, `DELIVERY_DELAY`, `SUBSCRIPTION`.
* @property pinpointDestination An object that defines an Amazon Pinpoint project destination for email events. See `pinpoint_destination` Block for details.
* @property snsDestination An object that defines an Amazon SNS destination for email events. See `sns_destination` Block for details.
*/
public data class ConfigurationSetEventDestinationEventDestination(
public val cloudWatchDestination: ConfigurationSetEventDestinationEventDestinationCloudWatchDestination? = null,
public val enabled: Boolean? = null,
public val eventBridgeDestination: ConfigurationSetEventDestinationEventDestinationEventBridgeDestination? = null,
public val kinesisFirehoseDestination: ConfigurationSetEventDestinationEventDestinationKinesisFirehoseDestination? = null,
public val matchingEventTypes: List,
public val pinpointDestination: ConfigurationSetEventDestinationEventDestinationPinpointDestination? = null,
public val snsDestination: ConfigurationSetEventDestinationEventDestinationSnsDestination? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.sesv2.outputs.ConfigurationSetEventDestinationEventDestination): ConfigurationSetEventDestinationEventDestination =
ConfigurationSetEventDestinationEventDestination(
cloudWatchDestination = javaType.cloudWatchDestination().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.sesv2.kotlin.outputs.ConfigurationSetEventDestinationEventDestinationCloudWatchDestination.Companion.toKotlin(args0)
})
}).orElse(null),
enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
eventBridgeDestination = javaType.eventBridgeDestination().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.sesv2.kotlin.outputs.ConfigurationSetEventDestinationEventDestinationEventBridgeDestination.Companion.toKotlin(args0)
})
}).orElse(null),
kinesisFirehoseDestination = javaType.kinesisFirehoseDestination().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.sesv2.kotlin.outputs.ConfigurationSetEventDestinationEventDestinationKinesisFirehoseDestination.Companion.toKotlin(args0)
})
}).orElse(null),
matchingEventTypes = javaType.matchingEventTypes().map({ args0 -> args0 }),
pinpointDestination = javaType.pinpointDestination().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.sesv2.kotlin.outputs.ConfigurationSetEventDestinationEventDestinationPinpointDestination.Companion.toKotlin(args0)
})
}).orElse(null),
snsDestination = javaType.snsDestination().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.sesv2.kotlin.outputs.ConfigurationSetEventDestinationEventDestinationSnsDestination.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy