
com.pulumi.awsnative.pipes.kotlin.inputs.PipeAwsVpcConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.pipes.kotlin.inputs
import com.pulumi.awsnative.pipes.inputs.PipeAwsVpcConfigurationArgs.builder
import com.pulumi.awsnative.pipes.kotlin.enums.PipeAssignPublicIp
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.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` .
* @property securityGroups Specifies the security groups associated with the task. These security groups must all be in the same VPC. You can specify as many as five security groups. If you do not specify a security group, the default security group for the VPC is used.
* @property subnets Specifies the subnets associated with the task. These subnets must all be in the same VPC. You can specify as many as 16 subnets.
*/
public data class PipeAwsVpcConfigurationArgs(
public val assignPublicIp: Output? = null,
public val securityGroups: Output>? = null,
public val subnets: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.pipes.inputs.PipeAwsVpcConfigurationArgs =
com.pulumi.awsnative.pipes.inputs.PipeAwsVpcConfigurationArgs.builder()
.assignPublicIp(assignPublicIp?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.securityGroups(securityGroups?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.subnets(subnets.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [PipeAwsVpcConfigurationArgs].
*/
@PulumiTagMarker
public class PipeAwsVpcConfigurationArgsBuilder 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` .
*/
@JvmName("viywyvhyerjjhook")
public suspend fun assignPublicIp(`value`: Output) {
this.assignPublicIp = value
}
/**
* @param value Specifies the security groups associated with the task. These security groups must all be in the same VPC. You can specify as many as five security groups. If you do not specify a security group, the default security group for the VPC is used.
*/
@JvmName("wshwymyetmoirkdu")
public suspend fun securityGroups(`value`: Output>) {
this.securityGroups = value
}
@JvmName("twscjumruftdwnln")
public suspend fun securityGroups(vararg values: Output) {
this.securityGroups = Output.all(values.asList())
}
/**
* @param values Specifies the security groups associated with the task. These security groups must all be in the same VPC. You can specify as many as five security groups. If you do not specify a security group, the default security group for the VPC is used.
*/
@JvmName("hhhwpsywdxkdwjma")
public suspend fun securityGroups(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy