Interface CfnGatewayRule.RouteToTargetActionProperty

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

@Stability(Stable) public static interface CfnGatewayRule.RouteToTargetActionProperty 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.bedrockagentcore.*;
 RouteToTargetActionProperty routeToTargetActionProperty = RouteToTargetActionProperty.builder()
         .staticRoute(StaticRouteProperty.builder()
                 .targetName("targetName")
                 .build())
         .weightedRoute(WeightedRouteProperty.builder()
                 .trafficSplit(List.of(TargetTrafficSplitEntryProperty.builder()
                         .name("name")
                         .targetName("targetName")
                         .weight(123)
                         // the properties below are optional
                         .description("description")
                         .metadata(Map.of(
                                 "metadataKey", "metadata"))
                         .build()))
                 .build())
         .build();
 

See Also: