com.pulumi.aws.appmesh.kotlin.outputs.RouteSpecTcpRoute.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
* @property timeout Types of timeouts.
*/
public data class RouteSpecTcpRoute(
public val action: RouteSpecTcpRouteAction,
public val match: RouteSpecTcpRouteMatch? = null,
public val timeout: RouteSpecTcpRouteTimeout? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.appmesh.outputs.RouteSpecTcpRoute): RouteSpecTcpRoute = RouteSpecTcpRoute(
action = javaType.action().let({ args0 ->
com.pulumi.aws.appmesh.kotlin.outputs.RouteSpecTcpRouteAction.Companion.toKotlin(args0)
}),
match = javaType.match().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.appmesh.kotlin.outputs.RouteSpecTcpRouteMatch.Companion.toKotlin(args0)
})
}).orElse(null),
timeout = javaType.timeout().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.appmesh.kotlin.outputs.RouteSpecTcpRouteTimeout.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy