![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.apprunner.kotlin.outputs.ServiceEgressConfiguration.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.apprunner.kotlin.outputs
import com.pulumi.awsnative.apprunner.kotlin.enums.ServiceEgressConfigurationEgressType
import kotlin.String
import kotlin.Suppress
/**
* Network egress configuration
* @property egressType Network egress type.
* @property vpcConnectorArn The Amazon Resource Name (ARN) of the App Runner VpcConnector.
*/
public data class ServiceEgressConfiguration(
public val egressType: ServiceEgressConfigurationEgressType,
public val vpcConnectorArn: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.apprunner.outputs.ServiceEgressConfiguration): ServiceEgressConfiguration = ServiceEgressConfiguration(
egressType = javaType.egressType().let({ args0 ->
com.pulumi.awsnative.apprunner.kotlin.enums.ServiceEgressConfigurationEgressType.Companion.toKotlin(args0)
}),
vpcConnectorArn = javaType.vpcConnectorArn().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy