
com.pulumi.awsnative.appconfig.kotlin.EnvironmentArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.appconfig.kotlin
import com.pulumi.awsnative.appconfig.EnvironmentArgs.builder
import com.pulumi.awsnative.appconfig.kotlin.inputs.EnvironmentMonitorArgs
import com.pulumi.awsnative.appconfig.kotlin.inputs.EnvironmentMonitorArgsBuilder
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource Type definition for AWS::AppConfig::Environment
* @property applicationId The application ID.
* @property description A description of the environment.
* @property monitors Amazon CloudWatch alarms to monitor during the deployment process.
* @property name A name for the environment.
* @property tags Metadata to assign to the environment. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
*/
public data class EnvironmentArgs(
public val applicationId: Output? = null,
public val description: Output? = null,
public val monitors: Output>? = null,
public val name: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.appconfig.EnvironmentArgs =
com.pulumi.awsnative.appconfig.EnvironmentArgs.builder()
.applicationId(applicationId?.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.monitors(
monitors?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.name(name?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [EnvironmentArgs].
*/
@PulumiTagMarker
public class EnvironmentArgsBuilder internal constructor() {
private var applicationId: Output? = null
private var description: Output? = null
private var monitors: Output>? = null
private var name: Output? = null
private var tags: Output>? = null
/**
* @param value The application ID.
*/
@JvmName("vltxhxdwhnujinxh")
public suspend fun applicationId(`value`: Output) {
this.applicationId = value
}
/**
* @param value A description of the environment.
*/
@JvmName("ksakihnpwmtdqujk")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value Amazon CloudWatch alarms to monitor during the deployment process.
*/
@JvmName("trkbdttuvyrcwoln")
public suspend fun monitors(`value`: Output>) {
this.monitors = value
}
@JvmName("puruhavkptohycen")
public suspend fun monitors(vararg values: Output) {
this.monitors = Output.all(values.asList())
}
/**
* @param values Amazon CloudWatch alarms to monitor during the deployment process.
*/
@JvmName("lxdhcxqhuownejal")
public suspend fun monitors(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy