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

com.pulumi.awsnative.medialive.kotlin.SignalMapArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.medialive.kotlin

import com.pulumi.awsnative.medialive.SignalMapArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 * Definition of AWS::MediaLive::SignalMap Resource Type
 * @property cloudWatchAlarmTemplateGroupIdentifiers
 * @property description A resource's optional description.
 * @property discoveryEntryPointArn A top-level supported AWS resource ARN to discovery a signal map from.
 * @property eventBridgeRuleTemplateGroupIdentifiers
 * @property forceRediscovery If true, will force a rediscovery of a signal map if an unchanged discoveryEntryPointArn is provided.
 * @property name A resource's name. Names must be unique within the scope of a resource type in a specific region.
 * @property tags
 */
public data class SignalMapArgs(
    public val cloudWatchAlarmTemplateGroupIdentifiers: Output>? = null,
    public val description: Output? = null,
    public val discoveryEntryPointArn: Output? = null,
    public val eventBridgeRuleTemplateGroupIdentifiers: Output>? = null,
    public val forceRediscovery: Output? = null,
    public val name: Output? = null,
    public val tags: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.medialive.SignalMapArgs =
        com.pulumi.awsnative.medialive.SignalMapArgs.builder()
            .cloudWatchAlarmTemplateGroupIdentifiers(
                cloudWatchAlarmTemplateGroupIdentifiers?.applyValue({ args0 ->
                    args0.map({ args0 -> args0 })
                }),
            )
            .description(description?.applyValue({ args0 -> args0 }))
            .discoveryEntryPointArn(discoveryEntryPointArn?.applyValue({ args0 -> args0 }))
            .eventBridgeRuleTemplateGroupIdentifiers(
                eventBridgeRuleTemplateGroupIdentifiers?.applyValue({ args0 ->
                    args0.map({ args0 -> args0 })
                }),
            )
            .forceRediscovery(forceRediscovery?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .tags(
                tags?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            ).build()
}

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

    private var description: Output? = null

    private var discoveryEntryPointArn: Output? = null

    private var eventBridgeRuleTemplateGroupIdentifiers: Output>? = null

    private var forceRediscovery: Output? = null

    private var name: Output? = null

    private var tags: Output>? = null

    /**
     * @param value
     */
    @JvmName("wlhpxmrfjmasrckt")
    public suspend fun cloudWatchAlarmTemplateGroupIdentifiers(`value`: Output>) {
        this.cloudWatchAlarmTemplateGroupIdentifiers = value
    }

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

    /**
     * @param values
     */
    @JvmName("udpvfppmgdxdjnfh")
    public suspend fun cloudWatchAlarmTemplateGroupIdentifiers(values: List>) {
        this.cloudWatchAlarmTemplateGroupIdentifiers = Output.all(values)
    }

    /**
     * @param value A resource's optional description.
     */
    @JvmName("duqhexxaeefkmwma")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value A top-level supported AWS resource ARN to discovery a signal map from.
     */
    @JvmName("cbcpmvxvayjpjtfp")
    public suspend fun discoveryEntryPointArn(`value`: Output) {
        this.discoveryEntryPointArn = value
    }

    /**
     * @param value
     */
    @JvmName("kswcjflhwfxkayow")
    public suspend fun eventBridgeRuleTemplateGroupIdentifiers(`value`: Output>) {
        this.eventBridgeRuleTemplateGroupIdentifiers = value
    }

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

    /**
     * @param values
     */
    @JvmName("cyorqgpcvgemnrbr")
    public suspend fun eventBridgeRuleTemplateGroupIdentifiers(values: List>) {
        this.eventBridgeRuleTemplateGroupIdentifiers = Output.all(values)
    }

    /**
     * @param value If true, will force a rediscovery of a signal map if an unchanged discoveryEntryPointArn is provided.
     */
    @JvmName("bvwqtejgricdmubs")
    public suspend fun forceRediscovery(`value`: Output) {
        this.forceRediscovery = value
    }

    /**
     * @param value A resource's name. Names must be unique within the scope of a resource type in a specific region.
     */
    @JvmName("bofnihhismprmqll")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value
     */
    @JvmName("rocuqvuolfcskucx")
    public suspend fun tags(`value`: Output>) {
        this.tags = value
    }

    /**
     * @param value
     */
    @JvmName("uswpnjmcqetlufqr")
    public suspend fun cloudWatchAlarmTemplateGroupIdentifiers(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.cloudWatchAlarmTemplateGroupIdentifiers = mapped
    }

    /**
     * @param values
     */
    @JvmName("ulhbedhqpbcyrtfl")
    public suspend fun cloudWatchAlarmTemplateGroupIdentifiers(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.cloudWatchAlarmTemplateGroupIdentifiers = mapped
    }

    /**
     * @param value A resource's optional description.
     */
    @JvmName("kxmwtxjrtmrnppkr")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value A top-level supported AWS resource ARN to discovery a signal map from.
     */
    @JvmName("xmkjirmebiiaookg")
    public suspend fun discoveryEntryPointArn(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.discoveryEntryPointArn = mapped
    }

    /**
     * @param value
     */
    @JvmName("vxojgyjtonoylffb")
    public suspend fun eventBridgeRuleTemplateGroupIdentifiers(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.eventBridgeRuleTemplateGroupIdentifiers = mapped
    }

    /**
     * @param values
     */
    @JvmName("barbtuxumiqakwjn")
    public suspend fun eventBridgeRuleTemplateGroupIdentifiers(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.eventBridgeRuleTemplateGroupIdentifiers = mapped
    }

    /**
     * @param value If true, will force a rediscovery of a signal map if an unchanged discoveryEntryPointArn is provided.
     */
    @JvmName("prjmulmfamwpvewc")
    public suspend fun forceRediscovery(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.forceRediscovery = mapped
    }

    /**
     * @param value A resource's name. Names must be unique within the scope of a resource type in a specific region.
     */
    @JvmName("yassvdgfdnkvgptb")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value
     */
    @JvmName("fjtftpoafkpmclip")
    public suspend fun tags(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param values
     */
    @JvmName("pbhlmqbbdxysdope")
    public fun tags(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    internal fun build(): SignalMapArgs = SignalMapArgs(
        cloudWatchAlarmTemplateGroupIdentifiers = cloudWatchAlarmTemplateGroupIdentifiers,
        description = description,
        discoveryEntryPointArn = discoveryEntryPointArn,
        eventBridgeRuleTemplateGroupIdentifiers = eventBridgeRuleTemplateGroupIdentifiers,
        forceRediscovery = forceRediscovery,
        name = name,
        tags = tags,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy