com.pulumi.aws.ecs.kotlin.inputs.ServiceDeploymentControllerArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.ecs.kotlin.inputs
import com.pulumi.aws.ecs.inputs.ServiceDeploymentControllerArgs.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
/**
*
* @property type Type of deployment controller. Valid values: `CODE_DEPLOY`, `ECS`, `EXTERNAL`. Default: `ECS`.
*/
public data class ServiceDeploymentControllerArgs(
public val type: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.ecs.inputs.ServiceDeploymentControllerArgs =
com.pulumi.aws.ecs.inputs.ServiceDeploymentControllerArgs.builder()
.type(type?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ServiceDeploymentControllerArgs].
*/
@PulumiTagMarker
public class ServiceDeploymentControllerArgsBuilder internal constructor() {
private var type: Output? = null
/**
* @param value Type of deployment controller. Valid values: `CODE_DEPLOY`, `ECS`, `EXTERNAL`. Default: `ECS`.
*/
@JvmName("tdpdvlladttqrtbj")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value Type of deployment controller. Valid values: `CODE_DEPLOY`, `ECS`, `EXTERNAL`. Default: `ECS`.
*/
@JvmName("whmjfknfxnmnupft")
public suspend fun type(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.type = mapped
}
internal fun build(): ServiceDeploymentControllerArgs = ServiceDeploymentControllerArgs(
type = type,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy