Interface CfnGatewayRule.ActionProperty

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

@Stability(Stable) public static interface CfnGatewayRule.ActionProperty 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.*;
 ActionProperty actionProperty = ActionProperty.builder()
         .configurationBundle(ConfigurationBundleActionProperty.builder()
                 .staticOverride(StaticOverrideProperty.builder()
                         .bundleArn("bundleArn")
                         .bundleVersion("bundleVersion")
                         .build())
                 .weightedOverride(WeightedOverrideProperty.builder()
                         .trafficSplit(List.of(TrafficSplitEntryProperty.builder()
                                 .configurationBundle(ConfigurationBundleReferenceProperty.builder()
                                         .bundleArn("bundleArn")
                                         .bundleVersion("bundleVersion")
                                         .build())
                                 .name("name")
                                 .weight(123)
                                 // the properties below are optional
                                 .description("description")
                                 .metadata(Map.of(
                                         "metadataKey", "metadata"))
                                 .build()))
                         .build())
                 .build())
         .routeToTarget(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())
         .build();
 

See Also: