
com.pulumi.awsnative.codedeploy.kotlin.ApplicationArgs.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.codedeploy.kotlin
import com.pulumi.awsnative.codedeploy.ApplicationArgs.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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The AWS::CodeDeploy::Application resource creates an AWS CodeDeploy application
* @property applicationName A name for the application. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the application name.
* @property computePlatform The compute platform that CodeDeploy deploys the application to.
* @property tags The metadata that you apply to CodeDeploy applications to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define.
*/
public data class ApplicationArgs(
public val applicationName: Output? = null,
public val computePlatform: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.codedeploy.ApplicationArgs =
com.pulumi.awsnative.codedeploy.ApplicationArgs.builder()
.applicationName(applicationName?.applyValue({ args0 -> args0 }))
.computePlatform(computePlatform?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ApplicationArgs].
*/
@PulumiTagMarker
public class ApplicationArgsBuilder internal constructor() {
private var applicationName: Output? = null
private var computePlatform: Output? = null
private var tags: Output>? = null
/**
* @param value A name for the application. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the application name.
*/
@JvmName("weodpgdymsghikwm")
public suspend fun applicationName(`value`: Output) {
this.applicationName = value
}
/**
* @param value The compute platform that CodeDeploy deploys the application to.
*/
@JvmName("wtafifmwngtdemuv")
public suspend fun computePlatform(`value`: Output) {
this.computePlatform = value
}
/**
* @param value The metadata that you apply to CodeDeploy applications to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define.
*/
@JvmName("ybvjyqlxbmlllosk")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("xiqctduerpfgwnnx")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values The metadata that you apply to CodeDeploy applications to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define.
*/
@JvmName("wuekmrfvywknxlbe")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy