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

com.pulumi.awsnative.pipes.kotlin.inputs.PipeDeadLetterConfigArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.pipes.kotlin.inputs

import com.pulumi.awsnative.pipes.inputs.PipeDeadLetterConfigArgs.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 specified target for the dead-letter queue.
 * For Amazon Kinesis stream and Amazon DynamoDB stream sources, specify either an Amazon SNS topic or Amazon SQS queue ARN.
 */
public data class PipeDeadLetterConfigArgs(
    public val arn: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.pipes.inputs.PipeDeadLetterConfigArgs =
        com.pulumi.awsnative.pipes.inputs.PipeDeadLetterConfigArgs.builder()
            .arn(arn?.applyValue({ args0 -> args0 })).build()
}

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

    /**
     * @param value The ARN of the specified target for the dead-letter queue.
     * For Amazon Kinesis stream and Amazon DynamoDB stream sources, specify either an Amazon SNS topic or Amazon SQS queue ARN.
     */
    @JvmName("jprconlknatapxds")
    public suspend fun arn(`value`: Output) {
        this.arn = value
    }

    /**
     * @param value The ARN of the specified target for the dead-letter queue.
     * For Amazon Kinesis stream and Amazon DynamoDB stream sources, specify either an Amazon SNS topic or Amazon SQS queue ARN.
     */
    @JvmName("dckxxjffjldiphwy")
    public suspend fun arn(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.arn = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy