com.pulumi.aws.cloudwatch.kotlin.inputs.EventTargetDeadLetterConfigArgs.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.EventTargetDeadLetterConfigArgs.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 arn ARN of the SQS queue specified as the target for the dead-letter queue.
*/
public data class EventTargetDeadLetterConfigArgs(
public val arn: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.cloudwatch.inputs.EventTargetDeadLetterConfigArgs =
com.pulumi.aws.cloudwatch.inputs.EventTargetDeadLetterConfigArgs.builder()
.arn(arn?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EventTargetDeadLetterConfigArgs].
*/
@PulumiTagMarker
public class EventTargetDeadLetterConfigArgsBuilder internal constructor() {
private var arn: Output? = null
/**
* @param value ARN of the SQS queue specified as the target for the dead-letter queue.
*/
@JvmName("jyvpcwemgvspvmnv")
public suspend fun arn(`value`: Output) {
this.arn = value
}
/**
* @param value ARN of the SQS queue specified as the target for the dead-letter queue.
*/
@JvmName("wmwbvwwvnwvqcoxq")
public suspend fun arn(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.arn = mapped
}
internal fun build(): EventTargetDeadLetterConfigArgs = EventTargetDeadLetterConfigArgs(
arn = arn,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy