Interface CfnRoute.TcpRouteProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRoute.TcpRouteProperty.Jsii$Proxy
- Enclosing class:
CfnRoute
@Stability(Stable)
public static interface CfnRoute.TcpRouteProperty
extends software.amazon.jsii.JsiiSerializable
An object that represents a TCP route type.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.appmesh.*; TcpRouteProperty tcpRouteProperty = TcpRouteProperty.builder() .action(TcpRouteActionProperty.builder() .weightedTargets(List.of(WeightedTargetProperty.builder() .virtualNode("virtualNode") .weight(123) // the properties below are optional .port(123) .build())) .build()) // the properties below are optional .match(TcpRouteMatchProperty.builder() .port(123) .build()) .timeout(TcpTimeoutProperty.builder() .idle(DurationProperty.builder() .unit("unit") .value(123) .build()) .build()) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnRoute.TcpRouteProperty
static final class
An implementation forCfnRoute.TcpRouteProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAction
The action to take if a match is determined.- See Also:
-
getMatch
An object that represents the criteria for determining a request match.- See Also:
-
getTimeout
An object that represents types of timeouts.- See Also:
-
builder
- Returns:
- a
CfnRoute.TcpRouteProperty.Builder
ofCfnRoute.TcpRouteProperty
-