
com.pulumi.aws.apprunner.kotlin.inputs.ServiceNetworkConfigurationEgressConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.apprunner.kotlin.inputs
import com.pulumi.aws.apprunner.inputs.ServiceNetworkConfigurationEgressConfigurationArgs.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 egressType The type of egress configuration. Valid values are: `DEFAULT` and `VPC`.
* @property vpcConnectorArn The Amazon Resource Name (ARN) of the App Runner VPC connector that you want to associate with your App Runner service. Only valid when `EgressType = VPC`.
*/
public data class ServiceNetworkConfigurationEgressConfigurationArgs(
public val egressType: Output? = null,
public val vpcConnectorArn: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.apprunner.inputs.ServiceNetworkConfigurationEgressConfigurationArgs =
com.pulumi.aws.apprunner.inputs.ServiceNetworkConfigurationEgressConfigurationArgs.builder()
.egressType(egressType?.applyValue({ args0 -> args0 }))
.vpcConnectorArn(vpcConnectorArn?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ServiceNetworkConfigurationEgressConfigurationArgs].
*/
@PulumiTagMarker
public class ServiceNetworkConfigurationEgressConfigurationArgsBuilder internal constructor() {
private var egressType: Output? = null
private var vpcConnectorArn: Output? = null
/**
* @param value The type of egress configuration. Valid values are: `DEFAULT` and `VPC`.
*/
@JvmName("paemmldcpafxnovs")
public suspend fun egressType(`value`: Output) {
this.egressType = value
}
/**
* @param value The Amazon Resource Name (ARN) of the App Runner VPC connector that you want to associate with your App Runner service. Only valid when `EgressType = VPC`.
*/
@JvmName("lrfwxtvkokicwsjm")
public suspend fun vpcConnectorArn(`value`: Output) {
this.vpcConnectorArn = value
}
/**
* @param value The type of egress configuration. Valid values are: `DEFAULT` and `VPC`.
*/
@JvmName("tgvrffbjpwetcqpx")
public suspend fun egressType(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.egressType = mapped
}
/**
* @param value The Amazon Resource Name (ARN) of the App Runner VPC connector that you want to associate with your App Runner service. Only valid when `EgressType = VPC`.
*/
@JvmName("ymamabugqgltpnvr")
public suspend fun vpcConnectorArn(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.vpcConnectorArn = mapped
}
internal fun build(): ServiceNetworkConfigurationEgressConfigurationArgs =
ServiceNetworkConfigurationEgressConfigurationArgs(
egressType = egressType,
vpcConnectorArn = vpcConnectorArn,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy