com.pulumi.aws.appmesh.kotlin.outputs.RouteSpecTcpRouteAction.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.Suppress
import kotlin.collections.List
/**
*
* @property weightedTargets Targets that traffic is routed to when a request matches the route.
* You can specify one or more targets and their relative weights with which to distribute traffic.
*/
public data class RouteSpecTcpRouteAction(
public val weightedTargets: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.appmesh.outputs.RouteSpecTcpRouteAction): RouteSpecTcpRouteAction = RouteSpecTcpRouteAction(
weightedTargets = javaType.weightedTargets().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.appmesh.kotlin.outputs.RouteSpecTcpRouteActionWeightedTarget.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy