com.pulumi.aws.appmesh.kotlin.outputs.GetRouteSpecHttp2RouteAction.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.appmesh.kotlin.outputs
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property weightedTargets
*/
public data class GetRouteSpecHttp2RouteAction(
public val weightedTargets: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.appmesh.outputs.GetRouteSpecHttp2RouteAction): GetRouteSpecHttp2RouteAction = GetRouteSpecHttp2RouteAction(
weightedTargets = javaType.weightedTargets().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.appmesh.kotlin.outputs.GetRouteSpecHttp2RouteActionWeightedTarget.Companion.toKotlin(args0)
})
}),
)
}
}