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

com.pulumi.awsnative.rekognition.kotlin.inputs.StreamProcessorNotificationChannelArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.rekognition.kotlin.inputs

import com.pulumi.awsnative.rekognition.inputs.StreamProcessorNotificationChannelArgs.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

/**
 * The ARN of the SNS notification channel where events of interests are published, as part of connected home feature.
 * @property arn ARN of the SNS topic.
 */
public data class StreamProcessorNotificationChannelArgs(
    public val arn: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.rekognition.inputs.StreamProcessorNotificationChannelArgs =
        com.pulumi.awsnative.rekognition.inputs.StreamProcessorNotificationChannelArgs.builder()
            .arn(arn.applyValue({ args0 -> args0 })).build()
}

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

    /**
     * @param value ARN of the SNS topic.
     */
    @JvmName("gvxigbqubwpytmfp")
    public suspend fun arn(`value`: Output) {
        this.arn = value
    }

    /**
     * @param value ARN of the SNS topic.
     */
    @JvmName("ahybvvmngdjqbxmq")
    public suspend fun arn(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.arn = mapped
    }

    internal fun build(): StreamProcessorNotificationChannelArgs =
        StreamProcessorNotificationChannelArgs(
            arn = arn ?: throw PulumiNullFieldException("arn"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy