
com.pulumi.awsnative.apprunner.kotlin.inputs.VpcIngressConnectionIngressVpcConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.apprunner.kotlin.inputs
import com.pulumi.awsnative.apprunner.inputs.VpcIngressConnectionIngressVpcConfigurationArgs.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
/**
* The configuration of customer’s VPC and related VPC endpoint
* @property vpcEndpointId The ID of the VPC endpoint that your App Runner service connects to.
* @property vpcId The ID of the VPC that the VPC endpoint is used in.
*/
public data class VpcIngressConnectionIngressVpcConfigurationArgs(
public val vpcEndpointId: Output,
public val vpcId: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.apprunner.inputs.VpcIngressConnectionIngressVpcConfigurationArgs =
com.pulumi.awsnative.apprunner.inputs.VpcIngressConnectionIngressVpcConfigurationArgs.builder()
.vpcEndpointId(vpcEndpointId.applyValue({ args0 -> args0 }))
.vpcId(vpcId.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [VpcIngressConnectionIngressVpcConfigurationArgs].
*/
@PulumiTagMarker
public class VpcIngressConnectionIngressVpcConfigurationArgsBuilder internal constructor() {
private var vpcEndpointId: Output? = null
private var vpcId: Output? = null
/**
* @param value The ID of the VPC endpoint that your App Runner service connects to.
*/
@JvmName("plcmxaujxngfjtuy")
public suspend fun vpcEndpointId(`value`: Output) {
this.vpcEndpointId = value
}
/**
* @param value The ID of the VPC that the VPC endpoint is used in.
*/
@JvmName("claxovcdndyecaxh")
public suspend fun vpcId(`value`: Output) {
this.vpcId = value
}
/**
* @param value The ID of the VPC endpoint that your App Runner service connects to.
*/
@JvmName("otqsnfcycovjgvqs")
public suspend fun vpcEndpointId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.vpcEndpointId = mapped
}
/**
* @param value The ID of the VPC that the VPC endpoint is used in.
*/
@JvmName("ylxhbhbnjsuhpajf")
public suspend fun vpcId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.vpcId = mapped
}
internal fun build(): VpcIngressConnectionIngressVpcConfigurationArgs =
VpcIngressConnectionIngressVpcConfigurationArgs(
vpcEndpointId = vpcEndpointId ?: throw PulumiNullFieldException("vpcEndpointId"),
vpcId = vpcId ?: throw PulumiNullFieldException("vpcId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy