All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.appmesh.kotlin.outputs.GatewayRouteSpecHttpRouteActionTarget.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@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