com.pulumi.aws.appmesh.kotlin.outputs.GatewayRouteSpecGrpcRoute.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
/**
*
* @property action Action to take if a match is determined.
* @property match Criteria for determining a request match.
*/
public data class GatewayRouteSpecGrpcRoute(
public val action: GatewayRouteSpecGrpcRouteAction,
public val match: GatewayRouteSpecGrpcRouteMatch,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.appmesh.outputs.GatewayRouteSpecGrpcRoute): GatewayRouteSpecGrpcRoute = GatewayRouteSpecGrpcRoute(
action = javaType.action().let({ args0 ->
com.pulumi.aws.appmesh.kotlin.outputs.GatewayRouteSpecGrpcRouteAction.Companion.toKotlin(args0)
}),
match = javaType.match().let({ args0 ->
com.pulumi.aws.appmesh.kotlin.outputs.GatewayRouteSpecGrpcRouteMatch.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy