
com.pulumi.awsnative.apigatewayv2.kotlin.DeploymentArgs.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.apigatewayv2.kotlin
import com.pulumi.awsnative.apigatewayv2.DeploymentArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* The ``AWS::ApiGatewayV2::Deployment`` resource creates a deployment for an API.
* @property apiId The API identifier.
* @property description The description for the deployment resource.
* @property stageName The name of an existing stage to associate with the deployment.
*/
public data class DeploymentArgs(
public val apiId: Output? = null,
public val description: Output? = null,
public val stageName: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.apigatewayv2.DeploymentArgs =
com.pulumi.awsnative.apigatewayv2.DeploymentArgs.builder()
.apiId(apiId?.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.stageName(stageName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DeploymentArgs].
*/
@PulumiTagMarker
public class DeploymentArgsBuilder internal constructor() {
private var apiId: Output? = null
private var description: Output? = null
private var stageName: Output? = null
/**
* @param value The API identifier.
*/
@JvmName("eailotvbjjsbklcr")
public suspend fun apiId(`value`: Output) {
this.apiId = value
}
/**
* @param value The description for the deployment resource.
*/
@JvmName("vsbqtmftrlywhhgo")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The name of an existing stage to associate with the deployment.
*/
@JvmName("ibeucwambrfxiovo")
public suspend fun stageName(`value`: Output) {
this.stageName = value
}
/**
* @param value The API identifier.
*/
@JvmName("rqypyvgftijfeabo")
public suspend fun apiId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.apiId = mapped
}
/**
* @param value The description for the deployment resource.
*/
@JvmName("xnyinbwnbynetxgv")
public suspend fun description(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.description = mapped
}
/**
* @param value The name of an existing stage to associate with the deployment.
*/
@JvmName("fnhuwjoavotaoaij")
public suspend fun stageName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.stageName = mapped
}
internal fun build(): DeploymentArgs = DeploymentArgs(
apiId = apiId,
description = description,
stageName = stageName,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy