public static interface CfnRoute.GrpcRouteActionProperty
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.*; GrpcRouteActionProperty grpcRouteActionProperty = GrpcRouteActionProperty.builder() .weightedTargets(List.of(WeightedTargetProperty.builder() .virtualNode("virtualNode") .weight(123) // the properties below are optional .port(123) .build())) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnRoute.GrpcRouteActionProperty.Builder
A builder for
CfnRoute.GrpcRouteActionProperty |
static class |
CfnRoute.GrpcRouteActionProperty.Jsii$Proxy
An implementation for
CfnRoute.GrpcRouteActionProperty |
Modifier and Type | Method and Description |
---|---|
static CfnRoute.GrpcRouteActionProperty.Builder |
builder() |
java.lang.Object |
getWeightedTargets()
An object that represents the targets that traffic is routed to when a request matches the route.
|
java.lang.Object getWeightedTargets()
static CfnRoute.GrpcRouteActionProperty.Builder builder()