com.pulumi.aws.appmesh.kotlin.outputs.GatewayRouteSpecHttpRouteActionTarget.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.appmesh.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
/**
*
* @property port The port number that corresponds to the target for Virtual Service provider port. This is required when the provider (router or node) of the Virtual Service has multiple listeners.
* @property virtualService Virtual service gateway route target.
*/
public data class GatewayRouteSpecHttpRouteActionTarget(
public val port: Int? = null,
public val virtualService: GatewayRouteSpecHttpRouteActionTargetVirtualService,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.appmesh.outputs.GatewayRouteSpecHttpRouteActionTarget): GatewayRouteSpecHttpRouteActionTarget = GatewayRouteSpecHttpRouteActionTarget(
port = javaType.port().map({ args0 -> args0 }).orElse(null),
virtualService = javaType.virtualService().let({ args0 ->
com.pulumi.aws.appmesh.kotlin.outputs.GatewayRouteSpecHttpRouteActionTargetVirtualService.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy