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

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

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

package com.pulumi.awsnative.medialive.kotlin

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

/**
 * Definition of AWS::MediaLive::CloudWatchAlarmTemplateGroup Resource Type
 * @property description A resource's optional description.
 * @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 CloudWatchAlarmTemplateGroupArgs(
    public val description: Output? = null,
    public val name: Output? = null,
    public val tags: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.medialive.CloudWatchAlarmTemplateGroupArgs =
        com.pulumi.awsnative.medialive.CloudWatchAlarmTemplateGroupArgs.builder()
            .description(description?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .tags(
                tags?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            ).build()
}

/**
 * Builder for [CloudWatchAlarmTemplateGroupArgs].
 */
@PulumiTagMarker
public class CloudWatchAlarmTemplateGroupArgsBuilder internal constructor() {
    private var description: Output? = null

    private var name: Output? = null

    private var tags: Output>? = null

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

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

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

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

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

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

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

    internal fun build(): CloudWatchAlarmTemplateGroupArgs = CloudWatchAlarmTemplateGroupArgs(
        description = description,
        name = name,
        tags = tags,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy