
com.pulumi.awsnative.ses.kotlin.inputs.ConfigurationSetEventDestinationEventDestinationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ses.kotlin.inputs
import com.pulumi.awsnative.ses.inputs.ConfigurationSetEventDestinationEventDestinationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @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 ConfigurationSetEventDestinationEventDestinationArgs(
public val cloudWatchDestination: Output? = null,
public val enabled: Output? = null,
public val eventBridgeDestination: Output? = null,
public val kinesisFirehoseDestination: Output? = null,
public val matchingEventTypes: Output>,
public val name: Output? = null,
public val snsDestination: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ses.inputs.ConfigurationSetEventDestinationEventDestinationArgs =
com.pulumi.awsnative.ses.inputs.ConfigurationSetEventDestinationEventDestinationArgs.builder()
.cloudWatchDestination(
cloudWatchDestination?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.enabled(enabled?.applyValue({ args0 -> args0 }))
.eventBridgeDestination(
eventBridgeDestination?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.kinesisFirehoseDestination(
kinesisFirehoseDestination?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.matchingEventTypes(matchingEventTypes.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.name(name?.applyValue({ args0 -> args0 }))
.snsDestination(
snsDestination?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [ConfigurationSetEventDestinationEventDestinationArgs].
*/
@PulumiTagMarker
public class ConfigurationSetEventDestinationEventDestinationArgsBuilder internal constructor() {
private var cloudWatchDestination:
Output? = null
private var enabled: Output? = null
private var eventBridgeDestination:
Output? = null
private var kinesisFirehoseDestination:
Output? = null
private var matchingEventTypes: Output>? = null
private var name: Output? = null
private var snsDestination: Output? = null
/**
* @param value An object that contains the names, default values, and sources of the dimensions associated with an Amazon CloudWatch event destination.
*/
@JvmName("hnmmwfdyhrufmhpo")
public suspend fun cloudWatchDestination(`value`: Output) {
this.cloudWatchDestination = value
}
/**
* @param value 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.
*/
@JvmName("ddxhqtbmacqqnnyc")
public suspend fun enabled(`value`: Output) {
this.enabled = value
}
/**
* @param value An object that contains Event bus ARN associated with the event bridge destination.
*/
@JvmName("jqubeekoncaccpfb")
public suspend fun eventBridgeDestination(`value`: Output) {
this.eventBridgeDestination = value
}
/**
* @param value An object that contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis Firehose event destination.
*/
@JvmName("mfcrtlsdnisnowym")
public suspend fun kinesisFirehoseDestination(`value`: Output) {
this.kinesisFirehoseDestination = value
}
/**
* @param value The type of email sending events, send, reject, bounce, complaint, delivery, open, click, renderingFailure, deliveryDelay, and subscription.
*/
@JvmName("vdxlgjtxqwvbhgjw")
public suspend fun matchingEventTypes(`value`: Output>) {
this.matchingEventTypes = value
}
@JvmName("dnidcloipsibskjv")
public suspend fun matchingEventTypes(vararg values: Output) {
this.matchingEventTypes = Output.all(values.asList())
}
/**
* @param values The type of email sending events, send, reject, bounce, complaint, delivery, open, click, renderingFailure, deliveryDelay, and subscription.
*/
@JvmName("kmcgpxypxqxheivb")
public suspend fun matchingEventTypes(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy