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

com.pulumi.awsnative.servicecatalogappregistry.kotlin.AttributeGroupArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.servicecatalogappregistry.kotlin

import com.pulumi.awsnative.servicecatalogappregistry.AttributeGroupArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Any
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 * Resource Schema for AWS::ServiceCatalogAppRegistry::AttributeGroup.
 * @property attributes A nested object in a JSON or YAML template that supports arbitrary definitions. Represents the attributes in an attribute group that describes an application and its components.
 * Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::ServiceCatalogAppRegistry::AttributeGroup` for more information about the expected schema for this property.
 * @property description The description of the attribute group.
 * @property name The name of the attribute group.
 * @property tags Key-value pairs you can use to associate with the attribute group.
 */
public data class AttributeGroupArgs(
    public val attributes: Output? = null,
    public val description: Output? = null,
    public val name: Output? = null,
    public val tags: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.servicecatalogappregistry.AttributeGroupArgs =
        com.pulumi.awsnative.servicecatalogappregistry.AttributeGroupArgs.builder()
            .attributes(attributes?.applyValue({ args0 -> args0 }))
            .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 [AttributeGroupArgs].
 */
@PulumiTagMarker
public class AttributeGroupArgsBuilder internal constructor() {
    private var attributes: Output? = null

    private var description: Output? = null

    private var name: Output? = null

    private var tags: Output>? = null

    /**
     * @param value A nested object in a JSON or YAML template that supports arbitrary definitions. Represents the attributes in an attribute group that describes an application and its components.
     * Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::ServiceCatalogAppRegistry::AttributeGroup` for more information about the expected schema for this property.
     */
    @JvmName("pateaqembkkbobav")
    public suspend fun attributes(`value`: Output) {
        this.attributes = value
    }

    /**
     * @param value The description of the attribute group.
     */
    @JvmName("nfgkrtvrwgrdphuc")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value The name of the attribute group.
     */
    @JvmName("wngeumkklaamdups")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value Key-value pairs you can use to associate with the attribute group.
     */
    @JvmName("rjycadmxacpqktkb")
    public suspend fun tags(`value`: Output>) {
        this.tags = value
    }

    /**
     * @param value A nested object in a JSON or YAML template that supports arbitrary definitions. Represents the attributes in an attribute group that describes an application and its components.
     * Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::ServiceCatalogAppRegistry::AttributeGroup` for more information about the expected schema for this property.
     */
    @JvmName("jpheinabtuhxmphn")
    public suspend fun attributes(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.attributes = mapped
    }

    /**
     * @param value The description of the attribute group.
     */
    @JvmName("fwnnhfuigdyktmio")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value The name of the attribute group.
     */
    @JvmName("meftxuqnyhrlvplc")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value Key-value pairs you can use to associate with the attribute group.
     */
    @JvmName("obtcftreggpkkrvg")
    public suspend fun tags(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param values Key-value pairs you can use to associate with the attribute group.
     */
    @JvmName("heppxltlarucdpax")
    public fun tags(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy