com.pulumi.aws.ses.kotlin.inputs.EventDestinationCloudwatchDestinationArgs.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.ses.kotlin.inputs
import com.pulumi.aws.ses.inputs.EventDestinationCloudwatchDestinationArgs.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
/**
*
* @property defaultValue The default value for the event
* @property dimensionName The name for the dimension
* @property valueSource The source for the value. May be any of `"messageTag"`, `"emailHeader"` or `"linkTag"`.
*/
public data class EventDestinationCloudwatchDestinationArgs(
public val defaultValue: Output,
public val dimensionName: Output,
public val valueSource: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.ses.inputs.EventDestinationCloudwatchDestinationArgs =
com.pulumi.aws.ses.inputs.EventDestinationCloudwatchDestinationArgs.builder()
.defaultValue(defaultValue.applyValue({ args0 -> args0 }))
.dimensionName(dimensionName.applyValue({ args0 -> args0 }))
.valueSource(valueSource.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EventDestinationCloudwatchDestinationArgs].
*/
@PulumiTagMarker
public class EventDestinationCloudwatchDestinationArgsBuilder internal constructor() {
private var defaultValue: Output? = null
private var dimensionName: Output? = null
private var valueSource: Output? = null
/**
* @param value The default value for the event
*/
@JvmName("sligdwjsjewrfnty")
public suspend fun defaultValue(`value`: Output) {
this.defaultValue = value
}
/**
* @param value The name for the dimension
*/
@JvmName("btugfjcunbmmbmoe")
public suspend fun dimensionName(`value`: Output) {
this.dimensionName = value
}
/**
* @param value The source for the value. May be any of `"messageTag"`, `"emailHeader"` or `"linkTag"`.
*/
@JvmName("rhdtrijikspvwflb")
public suspend fun valueSource(`value`: Output) {
this.valueSource = value
}
/**
* @param value The default value for the event
*/
@JvmName("tjmkuupltyeksxcd")
public suspend fun defaultValue(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.defaultValue = mapped
}
/**
* @param value The name for the dimension
*/
@JvmName("cywhkowvsejhryvj")
public suspend fun dimensionName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.dimensionName = mapped
}
/**
* @param value The source for the value. May be any of `"messageTag"`, `"emailHeader"` or `"linkTag"`.
*/
@JvmName("poluvjpjdjubllpx")
public suspend fun valueSource(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.valueSource = mapped
}
internal fun build(): EventDestinationCloudwatchDestinationArgs =
EventDestinationCloudwatchDestinationArgs(
defaultValue = defaultValue ?: throw PulumiNullFieldException("defaultValue"),
dimensionName = dimensionName ?: throw PulumiNullFieldException("dimensionName"),
valueSource = valueSource ?: throw PulumiNullFieldException("valueSource"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy