
com.pulumi.awsnative.apprunner.kotlin.inputs.ServiceEgressConfigurationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.apprunner.kotlin.inputs
import com.pulumi.awsnative.apprunner.inputs.ServiceEgressConfigurationArgs.builder
import com.pulumi.awsnative.apprunner.kotlin.enums.ServiceEgressConfigurationEgressType
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
/**
* Network egress configuration
* @property egressType Network egress type.
* @property vpcConnectorArn The Amazon Resource Name (ARN) of the App Runner VpcConnector.
*/
public data class ServiceEgressConfigurationArgs(
public val egressType: Output,
public val vpcConnectorArn: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.apprunner.inputs.ServiceEgressConfigurationArgs =
com.pulumi.awsnative.apprunner.inputs.ServiceEgressConfigurationArgs.builder()
.egressType(egressType.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.vpcConnectorArn(vpcConnectorArn?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ServiceEgressConfigurationArgs].
*/
@PulumiTagMarker
public class ServiceEgressConfigurationArgsBuilder internal constructor() {
private var egressType: Output? = null
private var vpcConnectorArn: Output? = null
/**
* @param value Network egress type.
*/
@JvmName("optnhsqsejdhkilg")
public suspend fun egressType(`value`: Output) {
this.egressType = value
}
/**
* @param value The Amazon Resource Name (ARN) of the App Runner VpcConnector.
*/
@JvmName("dvkvdhlbhygalsbn")
public suspend fun vpcConnectorArn(`value`: Output) {
this.vpcConnectorArn = value
}
/**
* @param value Network egress type.
*/
@JvmName("qijwarpfumjamvio")
public suspend fun egressType(`value`: ServiceEgressConfigurationEgressType) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.egressType = mapped
}
/**
* @param value The Amazon Resource Name (ARN) of the App Runner VpcConnector.
*/
@JvmName("ctqbyucamgcbuqie")
public suspend fun vpcConnectorArn(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.vpcConnectorArn = mapped
}
internal fun build(): ServiceEgressConfigurationArgs = ServiceEgressConfigurationArgs(
egressType = egressType ?: throw PulumiNullFieldException("egressType"),
vpcConnectorArn = vpcConnectorArn,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy