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

com.pulumi.awsnative.m2.kotlin.inputs.GetEnvironmentPlainArgs.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.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.m2.kotlin.inputs

import com.pulumi.awsnative.m2.inputs.GetEnvironmentPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property environmentArn The Amazon Resource Name (ARN) of the runtime environment.
 */
public data class GetEnvironmentPlainArgs(
    public val environmentArn: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.m2.inputs.GetEnvironmentPlainArgs =
        com.pulumi.awsnative.m2.inputs.GetEnvironmentPlainArgs.builder()
            .environmentArn(environmentArn.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetEnvironmentPlainArgs].
 */
@PulumiTagMarker
public class GetEnvironmentPlainArgsBuilder internal constructor() {
    private var environmentArn: String? = null

    /**
     * @param value The Amazon Resource Name (ARN) of the runtime environment.
     */
    @JvmName("uogijpqjtmqdaxpg")
    public suspend fun environmentArn(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.environmentArn = mapped
    }

    internal fun build(): GetEnvironmentPlainArgs = GetEnvironmentPlainArgs(
        environmentArn = environmentArn ?: throw PulumiNullFieldException("environmentArn"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy