com.pulumi.aws.cloudwatch.kotlin.inputs.EventTargetSqsTargetArgs.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.cloudwatch.kotlin.inputs
import com.pulumi.aws.cloudwatch.inputs.EventTargetSqsTargetArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property messageGroupId The FIFO message group ID to use as the target.
*/
public data class EventTargetSqsTargetArgs(
public val messageGroupId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.cloudwatch.inputs.EventTargetSqsTargetArgs =
com.pulumi.aws.cloudwatch.inputs.EventTargetSqsTargetArgs.builder()
.messageGroupId(messageGroupId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EventTargetSqsTargetArgs].
*/
@PulumiTagMarker
public class EventTargetSqsTargetArgsBuilder internal constructor() {
private var messageGroupId: Output? = null
/**
* @param value The FIFO message group ID to use as the target.
*/
@JvmName("woxbaidicvlyhowk")
public suspend fun messageGroupId(`value`: Output) {
this.messageGroupId = value
}
/**
* @param value The FIFO message group ID to use as the target.
*/
@JvmName("arsxfgmqgmlltlbe")
public suspend fun messageGroupId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.messageGroupId = mapped
}
internal fun build(): EventTargetSqsTargetArgs = EventTargetSqsTargetArgs(
messageGroupId = messageGroupId,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy