Interface CfnRoute.GrpcRouteActionProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnRoute.GrpcRouteActionProperty.Jsii$Proxy
Enclosing class:
CfnRoute

@Stability(Stable) public static interface CfnRoute.GrpcRouteActionProperty extends software.amazon.jsii.JsiiSerializable
An object that represents the action to take if a match is determined.

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();