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

com.pulumi.awsnative.ses.kotlin.inputs.ConfigurationSetEventDestinationSnsDestinationArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.ses.kotlin.inputs

import com.pulumi.awsnative.ses.inputs.ConfigurationSetEventDestinationSnsDestinationArgs.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 kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * An object that contains SNS topic ARN associated event destination.
 * @property topicArn The ARN of the Amazon SNS topic for email sending events. You can find the ARN of a topic by using the [ListTopics](https://docs.aws.amazon.com/sns/latest/api/API_ListTopics.html) Amazon SNS operation.
 * For more information about Amazon SNS topics, see the [Amazon SNS Developer Guide](https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html) .
 */
public data class ConfigurationSetEventDestinationSnsDestinationArgs(
    public val topicArn: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.ses.inputs.ConfigurationSetEventDestinationSnsDestinationArgs =
        com.pulumi.awsnative.ses.inputs.ConfigurationSetEventDestinationSnsDestinationArgs.builder()
            .topicArn(topicArn.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ConfigurationSetEventDestinationSnsDestinationArgs].
 */
@PulumiTagMarker
public class ConfigurationSetEventDestinationSnsDestinationArgsBuilder internal constructor() {
    private var topicArn: Output? = null

    /**
     * @param value The ARN of the Amazon SNS topic for email sending events. You can find the ARN of a topic by using the [ListTopics](https://docs.aws.amazon.com/sns/latest/api/API_ListTopics.html) Amazon SNS operation.
     * For more information about Amazon SNS topics, see the [Amazon SNS Developer Guide](https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html) .
     */
    @JvmName("caigtmclnowmmhaq")
    public suspend fun topicArn(`value`: Output) {
        this.topicArn = value
    }

    /**
     * @param value The ARN of the Amazon SNS topic for email sending events. You can find the ARN of a topic by using the [ListTopics](https://docs.aws.amazon.com/sns/latest/api/API_ListTopics.html) Amazon SNS operation.
     * For more information about Amazon SNS topics, see the [Amazon SNS Developer Guide](https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html) .
     */
    @JvmName("uhliobmnmamuculx")
    public suspend fun topicArn(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.topicArn = mapped
    }

    internal fun build(): ConfigurationSetEventDestinationSnsDestinationArgs =
        ConfigurationSetEventDestinationSnsDestinationArgs(
            topicArn = topicArn ?: throw PulumiNullFieldException("topicArn"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy