@Stability(value=Stable)
public static interface CfnRoute.TcpRouteProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnRoute.TcpRouteProperty.Builder
A builder for
CfnRoute.TcpRouteProperty |
static class |
CfnRoute.TcpRouteProperty.Jsii$Proxy
An implementation for
CfnRoute.TcpRouteProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnRoute.TcpRouteProperty.Builder |
builder() |
Object |
getAction()
The action to take if a match is determined.
|
default Object |
getMatch()
`CfnRoute.TcpRouteProperty.Match`.
|
default Object |
getTimeout()
An object that represents types of timeouts.
|
@Stability(value=Stable) @NotNull Object getAction()
@Stability(value=Stable) @Nullable default Object getMatch()
@Stability(value=Stable) @Nullable default Object getTimeout()
@Stability(value=Stable) static CfnRoute.TcpRouteProperty.Builder builder()
CfnRoute.TcpRouteProperty.Builder of CfnRoute.TcpRoutePropertyCopyright © 2022. All rights reserved.