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

com.pulumi.awsnative.events.kotlin.inputs.RuleDeadLetterConfigArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.events.kotlin.inputs

import com.pulumi.awsnative.events.inputs.RuleDeadLetterConfigArgs.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 The ARN of the SQS queue specified as the target for the dead-letter queue.
 */
public data class RuleDeadLetterConfigArgs(
    public val arn: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.events.inputs.RuleDeadLetterConfigArgs =
        com.pulumi.awsnative.events.inputs.RuleDeadLetterConfigArgs.builder()
            .arn(arn?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [RuleDeadLetterConfigArgs].
 */
@PulumiTagMarker
public class RuleDeadLetterConfigArgsBuilder internal constructor() {
    private var arn: Output? = null

    /**
     * @param value The ARN of the SQS queue specified as the target for the dead-letter queue.
     */
    @JvmName("wduwlwnlxmqhmrnx")
    public suspend fun arn(`value`: Output) {
        this.arn = value
    }

    /**
     * @param value The ARN of the SQS queue specified as the target for the dead-letter queue.
     */
    @JvmName("pttsjhymeqsfvdyj")
    public suspend fun arn(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.arn = mapped
    }

    internal fun build(): RuleDeadLetterConfigArgs = RuleDeadLetterConfigArgs(
        arn = arn,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy