com.pulumi.aws.pipes.kotlin.inputs.PipeTargetParametersEcsTaskParametersNetworkConfigurationAwsVpcConfigurationArgs.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.pipes.kotlin.inputs
import com.pulumi.aws.pipes.inputs.PipeTargetParametersEcsTaskParametersNetworkConfigurationAwsVpcConfigurationArgs.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.collections.List
import kotlin.jvm.JvmName
/**
*
* @property assignPublicIp Specifies whether the task's elastic network interface receives a public IP address. You can specify ENABLED only when LaunchType in EcsParameters is set to FARGATE. Valid Values: ENABLED, DISABLED.
* @property securityGroups
* @property subnets
*/
public data class PipeTargetParametersEcsTaskParametersNetworkConfigurationAwsVpcConfigurationArgs(
public val assignPublicIp: Output? = null,
public val securityGroups: Output>? = null,
public val subnets: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.pipes.inputs.PipeTargetParametersEcsTaskParametersNetworkConfigurationAwsVpcConfigurationArgs =
com.pulumi.aws.pipes.inputs.PipeTargetParametersEcsTaskParametersNetworkConfigurationAwsVpcConfigurationArgs.builder()
.assignPublicIp(assignPublicIp?.applyValue({ args0 -> args0 }))
.securityGroups(securityGroups?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.subnets(subnets?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [PipeTargetParametersEcsTaskParametersNetworkConfigurationAwsVpcConfigurationArgs].
*/
@PulumiTagMarker
public class PipeTargetParametersEcsTaskParametersNetworkConfigurationAwsVpcConfigurationArgsBuilder
internal constructor() {
private var assignPublicIp: Output? = null
private var securityGroups: Output>? = null
private var subnets: Output>? = null
/**
* @param value Specifies whether the task's elastic network interface receives a public IP address. You can specify ENABLED only when LaunchType in EcsParameters is set to FARGATE. Valid Values: ENABLED, DISABLED.
*/
@JvmName("vgyieohapdhmncai")
public suspend fun assignPublicIp(`value`: Output) {
this.assignPublicIp = value
}
/**
* @param value
*/
@JvmName("fyhpapshnkwqljpg")
public suspend fun securityGroups(`value`: Output>) {
this.securityGroups = value
}
@JvmName("jquwbqxaoiktfqnr")
public suspend fun securityGroups(vararg values: Output) {
this.securityGroups = Output.all(values.asList())
}
/**
* @param values
*/
@JvmName("jppmyocuspvlokwm")
public suspend fun securityGroups(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy