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

com.pulumi.awsnative.ssmincidents.kotlin.inputs.ResponsePlanChatChannelArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.ssmincidents.kotlin.inputs

import com.pulumi.awsnative.ssmincidents.inputs.ResponsePlanChatChannelArgs.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.collections.List
import kotlin.jvm.JvmName

/**
 * The chat channel configuration.
 * @property chatbotSns The Amazon SNS targets that AWS Chatbot uses to notify the chat channel of updates to an incident. You can also make updates to the incident through the chat channel by using the Amazon SNS topics
 */
public data class ResponsePlanChatChannelArgs(
    public val chatbotSns: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.ssmincidents.inputs.ResponsePlanChatChannelArgs =
        com.pulumi.awsnative.ssmincidents.inputs.ResponsePlanChatChannelArgs.builder()
            .chatbotSns(chatbotSns?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [ResponsePlanChatChannelArgs].
 */
@PulumiTagMarker
public class ResponsePlanChatChannelArgsBuilder internal constructor() {
    private var chatbotSns: Output>? = null

    /**
     * @param value The Amazon SNS targets that AWS Chatbot uses to notify the chat channel of updates to an incident. You can also make updates to the incident through the chat channel by using the Amazon SNS topics
     */
    @JvmName("rllpjxaguwjxlrcw")
    public suspend fun chatbotSns(`value`: Output>) {
        this.chatbotSns = value
    }

    @JvmName("dqdxmipujvpfoqgy")
    public suspend fun chatbotSns(vararg values: Output) {
        this.chatbotSns = Output.all(values.asList())
    }

    /**
     * @param values The Amazon SNS targets that AWS Chatbot uses to notify the chat channel of updates to an incident. You can also make updates to the incident through the chat channel by using the Amazon SNS topics
     */
    @JvmName("tskqktnihabjlgio")
    public suspend fun chatbotSns(values: List>) {
        this.chatbotSns = Output.all(values)
    }

    /**
     * @param value The Amazon SNS targets that AWS Chatbot uses to notify the chat channel of updates to an incident. You can also make updates to the incident through the chat channel by using the Amazon SNS topics
     */
    @JvmName("vhegyryakwhvnrdj")
    public suspend fun chatbotSns(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.chatbotSns = mapped
    }

    /**
     * @param values The Amazon SNS targets that AWS Chatbot uses to notify the chat channel of updates to an incident. You can also make updates to the incident through the chat channel by using the Amazon SNS topics
     */
    @JvmName("ilkrvxugmlsrchdh")
    public suspend fun chatbotSns(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.chatbotSns = mapped
    }

    internal fun build(): ResponsePlanChatChannelArgs = ResponsePlanChatChannelArgs(
        chatbotSns = chatbotSns,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy