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

com.pulumi.awsnative.devopsguru.kotlin.inputs.NotificationChannelSnsChannelConfigArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.devopsguru.kotlin.inputs

import com.pulumi.awsnative.devopsguru.inputs.NotificationChannelSnsChannelConfigArgs.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

/**
 * Information about a notification channel configured in DevOps Guru to send notifications when insights are created.
 * @property topicArn The Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic.
 */
public data class NotificationChannelSnsChannelConfigArgs(
    public val topicArn: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.devopsguru.inputs.NotificationChannelSnsChannelConfigArgs =
        com.pulumi.awsnative.devopsguru.inputs.NotificationChannelSnsChannelConfigArgs.builder()
            .topicArn(topicArn?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [NotificationChannelSnsChannelConfigArgs].
 */
@PulumiTagMarker
public class NotificationChannelSnsChannelConfigArgsBuilder internal constructor() {
    private var topicArn: Output? = null

    /**
     * @param value The Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic.
     */
    @JvmName("gdxgnxykodwfntpf")
    public suspend fun topicArn(`value`: Output) {
        this.topicArn = value
    }

    /**
     * @param value The Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic.
     */
    @JvmName("xpnmsxdnorgghlwx")
    public suspend fun topicArn(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.topicArn = mapped
    }

    internal fun build(): NotificationChannelSnsChannelConfigArgs =
        NotificationChannelSnsChannelConfigArgs(
            topicArn = topicArn,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy