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

com.pulumi.awsnative.ses.kotlin.ConfigurationSetEventDestinationArgs.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.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.ses.kotlin

import com.pulumi.awsnative.ses.ConfigurationSetEventDestinationArgs.builder
import com.pulumi.awsnative.ses.kotlin.inputs.ConfigurationSetEventDestinationEventDestinationArgs
import com.pulumi.awsnative.ses.kotlin.inputs.ConfigurationSetEventDestinationEventDestinationArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 * Resource Type definition for AWS::SES::ConfigurationSetEventDestination
 * @property configurationSetName The name of the configuration set that contains the event destination.
 * @property eventDestination The event destination object.
 */
public data class ConfigurationSetEventDestinationArgs(
    public val configurationSetName: Output? = null,
    public val eventDestination: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.ses.ConfigurationSetEventDestinationArgs =
        com.pulumi.awsnative.ses.ConfigurationSetEventDestinationArgs.builder()
            .configurationSetName(configurationSetName?.applyValue({ args0 -> args0 }))
            .eventDestination(
                eventDestination?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [ConfigurationSetEventDestinationArgs].
 */
@PulumiTagMarker
public class ConfigurationSetEventDestinationArgsBuilder internal constructor() {
    private var configurationSetName: Output? = null

    private var eventDestination: Output? = null

    /**
     * @param value The name of the configuration set that contains the event destination.
     */
    @JvmName("dsipitgripwgqgfr")
    public suspend fun configurationSetName(`value`: Output) {
        this.configurationSetName = value
    }

    /**
     * @param value The event destination object.
     */
    @JvmName("ssucutokqmceread")
    public suspend fun eventDestination(`value`: Output) {
        this.eventDestination = value
    }

    /**
     * @param value The name of the configuration set that contains the event destination.
     */
    @JvmName("nytfbpioecwdwcia")
    public suspend fun configurationSetName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.configurationSetName = mapped
    }

    /**
     * @param value The event destination object.
     */
    @JvmName("ffnjwhcvipomkjiv")
    public suspend fun eventDestination(`value`: ConfigurationSetEventDestinationEventDestinationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.eventDestination = mapped
    }

    /**
     * @param argument The event destination object.
     */
    @JvmName("bevhlkvniuvsjpmh")
    public suspend fun eventDestination(argument: suspend ConfigurationSetEventDestinationEventDestinationArgsBuilder.() -> Unit) {
        val toBeMapped = ConfigurationSetEventDestinationEventDestinationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.eventDestination = mapped
    }

    internal fun build(): ConfigurationSetEventDestinationArgs = ConfigurationSetEventDestinationArgs(
        configurationSetName = configurationSetName,
        eventDestination = eventDestination,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy