com.pulumi.aws.codedeploy.kotlin.inputs.DeploymentGroupEcsServiceArgs.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.codedeploy.kotlin.inputs
import com.pulumi.aws.codedeploy.inputs.DeploymentGroupEcsServiceArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
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 clusterName The name of the ECS cluster.
* @property serviceName The name of the ECS service.
*/
public data class DeploymentGroupEcsServiceArgs(
public val clusterName: Output,
public val serviceName: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.codedeploy.inputs.DeploymentGroupEcsServiceArgs =
com.pulumi.aws.codedeploy.inputs.DeploymentGroupEcsServiceArgs.builder()
.clusterName(clusterName.applyValue({ args0 -> args0 }))
.serviceName(serviceName.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DeploymentGroupEcsServiceArgs].
*/
@PulumiTagMarker
public class DeploymentGroupEcsServiceArgsBuilder internal constructor() {
private var clusterName: Output? = null
private var serviceName: Output? = null
/**
* @param value The name of the ECS cluster.
*/
@JvmName("nnwikbcjaoekwbfp")
public suspend fun clusterName(`value`: Output) {
this.clusterName = value
}
/**
* @param value The name of the ECS service.
*/
@JvmName("jcermsccavmsthie")
public suspend fun serviceName(`value`: Output) {
this.serviceName = value
}
/**
* @param value The name of the ECS cluster.
*/
@JvmName("aphlaldiralodvfu")
public suspend fun clusterName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.clusterName = mapped
}
/**
* @param value The name of the ECS service.
*/
@JvmName("pvrfoyomoauljxci")
public suspend fun serviceName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.serviceName = mapped
}
internal fun build(): DeploymentGroupEcsServiceArgs = DeploymentGroupEcsServiceArgs(
clusterName = clusterName ?: throw PulumiNullFieldException("clusterName"),
serviceName = serviceName ?: throw PulumiNullFieldException("serviceName"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy