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

com.pulumi.aws.devopsguru.kotlin.inputs.ResourceCollectionCloudformationArgs.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.devopsguru.kotlin.inputs

import com.pulumi.aws.devopsguru.inputs.ResourceCollectionCloudformationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property stackNames Array of the names of the AWS CloudFormation stacks. If `type` is `AWS_SERVICE` (all acccount resources) this array should be a single item containing a wildcard (`"*"`).
 */
public data class ResourceCollectionCloudformationArgs(
    public val stackNames: Output>,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.devopsguru.inputs.ResourceCollectionCloudformationArgs =
        com.pulumi.aws.devopsguru.inputs.ResourceCollectionCloudformationArgs.builder()
            .stackNames(stackNames.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

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

    /**
     * @param value Array of the names of the AWS CloudFormation stacks. If `type` is `AWS_SERVICE` (all acccount resources) this array should be a single item containing a wildcard (`"*"`).
     */
    @JvmName("pqkydsjjhxbsitak")
    public suspend fun stackNames(`value`: Output>) {
        this.stackNames = value
    }

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

    /**
     * @param values Array of the names of the AWS CloudFormation stacks. If `type` is `AWS_SERVICE` (all acccount resources) this array should be a single item containing a wildcard (`"*"`).
     */
    @JvmName("artivdthsnyuumru")
    public suspend fun stackNames(values: List>) {
        this.stackNames = Output.all(values)
    }

    /**
     * @param value Array of the names of the AWS CloudFormation stacks. If `type` is `AWS_SERVICE` (all acccount resources) this array should be a single item containing a wildcard (`"*"`).
     */
    @JvmName("jcdfaylroeqjsspd")
    public suspend fun stackNames(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.stackNames = mapped
    }

    /**
     * @param values Array of the names of the AWS CloudFormation stacks. If `type` is `AWS_SERVICE` (all acccount resources) this array should be a single item containing a wildcard (`"*"`).
     */
    @JvmName("elmegevgqafwgrpo")
    public suspend fun stackNames(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.stackNames = mapped
    }

    internal fun build(): ResourceCollectionCloudformationArgs = ResourceCollectionCloudformationArgs(
        stackNames = stackNames ?: throw PulumiNullFieldException("stackNames"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy