Interface CfnGatewayRule.WeightedRouteProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGatewayRule.WeightedRouteProperty.Jsii$Proxy
- Enclosing class:
CfnGatewayRule
@Stability(Stable)
public static interface CfnGatewayRule.WeightedRouteProperty
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.*;
WeightedRouteProperty weightedRouteProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGatewayRule.WeightedRoutePropertystatic final classAn implementation forCfnGatewayRule.WeightedRouteProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnGatewayRule.TargetTrafficSplitEntryProperty>Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTrafficSplit
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnGatewayRule.TargetTrafficSplitEntryProperty>- See Also:
-
builder
-