Interface CfnRoutePropsMixin.TcpRouteProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRoutePropsMixin.TcpRouteProperty.Jsii$Proxy
- Enclosing class:
CfnRoutePropsMixin
@Stability(Stable)
public static interface CfnRoutePropsMixin.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.mixins.preview.services.appmesh.mixins.*;
TcpRouteProperty tcpRouteProperty = TcpRouteProperty.builder()
.action(TcpRouteActionProperty.builder()
.weightedTargets(List.of(WeightedTargetProperty.builder()
.port(123)
.virtualNode("virtualNode")
.weight(123)
.build()))
.build())
.match(TcpRouteMatchProperty.builder()
.port(123)
.build())
.timeout(TcpTimeoutProperty.builder()
.idle(DurationProperty.builder()
.unit("unit")
.value(123)
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRoutePropsMixin.TcpRoutePropertystatic final classAn implementation forCfnRoutePropsMixin.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.Returns union: either
IResolvableorCfnRoutePropsMixin.TcpRouteActionProperty- See Also:
-
getMatch
An object that represents the criteria for determining a request match.Returns union: either
IResolvableorCfnRoutePropsMixin.TcpRouteMatchProperty- See Also:
-
getTimeout
An object that represents types of timeouts.Returns union: either
IResolvableorCfnRoutePropsMixin.TcpTimeoutProperty- See Also:
-
builder
-