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

com.pulumi.awsnative.controltower.kotlin.LandingZoneArgs.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.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.controltower.kotlin

import com.pulumi.awsnative.controltower.LandingZoneArgs.builder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * Definition of AWS::ControlTower::LandingZone Resource Type
 * @property manifest The landing zone manifest JSON text file that specifies the landing zone configurations.
 * Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::ControlTower::LandingZone` for more information about the expected schema for this property.
 * @property tags Tags to be applied to the landing zone.
 * @property version The landing zone's current deployed version.
 */
public data class LandingZoneArgs(
    public val manifest: Output? = null,
    public val tags: Output>? = null,
    public val version: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.controltower.LandingZoneArgs =
        com.pulumi.awsnative.controltower.LandingZoneArgs.builder()
            .manifest(manifest?.applyValue({ args0 -> args0 }))
            .tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
            .version(version?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [LandingZoneArgs].
 */
@PulumiTagMarker
public class LandingZoneArgsBuilder internal constructor() {
    private var manifest: Output? = null

    private var tags: Output>? = null

    private var version: Output? = null

    /**
     * @param value The landing zone manifest JSON text file that specifies the landing zone configurations.
     * Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::ControlTower::LandingZone` for more information about the expected schema for this property.
     */
    @JvmName("fodeuifcaidsjcle")
    public suspend fun manifest(`value`: Output) {
        this.manifest = value
    }

    /**
     * @param value Tags to be applied to the landing zone.
     */
    @JvmName("kbgmnaytjmpgylbe")
    public suspend fun tags(`value`: Output>) {
        this.tags = value
    }

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

    /**
     * @param values Tags to be applied to the landing zone.
     */
    @JvmName("fuindvttrnvgbovu")
    public suspend fun tags(values: List>) {
        this.tags = Output.all(values)
    }

    /**
     * @param value The landing zone's current deployed version.
     */
    @JvmName("pgdmjxmujjaxfvpg")
    public suspend fun version(`value`: Output) {
        this.version = value
    }

    /**
     * @param value The landing zone manifest JSON text file that specifies the landing zone configurations.
     * Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::ControlTower::LandingZone` for more information about the expected schema for this property.
     */
    @JvmName("wvmtkfqyyaykijsw")
    public suspend fun manifest(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.manifest = mapped
    }

    /**
     * @param value Tags to be applied to the landing zone.
     */
    @JvmName("jfyyfsabuvbmltws")
    public suspend fun tags(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param argument Tags to be applied to the landing zone.
     */
    @JvmName("qxkawfeywtkwkrkv")
    public suspend fun tags(argument: List Unit>) {
        val toBeMapped = argument.toList().map { TagArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param argument Tags to be applied to the landing zone.
     */
    @JvmName("kmpwbnvskbjxsohx")
    public suspend fun tags(vararg argument: suspend TagArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map { TagArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param argument Tags to be applied to the landing zone.
     */
    @JvmName("jxqkbbnyghaavyyu")
    public suspend fun tags(argument: suspend TagArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(TagArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param values Tags to be applied to the landing zone.
     */
    @JvmName("uqqvafylekqoyddx")
    public suspend fun tags(vararg values: TagArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param value The landing zone's current deployed version.
     */
    @JvmName("ucqnmgvijsknsqvs")
    public suspend fun version(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.version = mapped
    }

    internal fun build(): LandingZoneArgs = LandingZoneArgs(
        manifest = manifest,
        tags = tags,
        version = version,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy