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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnRoute.GrpcRouteActionProperty
static final class
An implementation forCfnRoute.GrpcRouteActionProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
An object that represents the targets that traffic is routed to when a request matches the route.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getWeightedTargets
An object that represents the targets that traffic is routed to when a request matches the route.- See Also:
-
builder
-