Interface CfnGatewayRulePropsMixin.WeightedRouteProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGatewayRulePropsMixin.WeightedRouteProperty.Jsii$Proxy
- Enclosing class:
CfnGatewayRulePropsMixin
@Stability(Stable)
public static interface CfnGatewayRulePropsMixin.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.cfnpropertymixins.services.bedrockagentcore.*;
WeightedRouteProperty weightedRouteProperty = WeightedRouteProperty.builder()
.trafficSplit(List.of(TargetTrafficSplitEntryProperty.builder()
.description("description")
.metadata(Map.of(
"metadataKey", "metadata"))
.name("name")
.targetName("targetName")
.weight(123)
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGatewayRulePropsMixin.WeightedRoutePropertystatic final classAn implementation forCfnGatewayRulePropsMixin.WeightedRouteProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnGatewayRulePropsMixin.TargetTrafficSplitEntryProperty>Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTrafficSplit
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnGatewayRulePropsMixin.TargetTrafficSplitEntryProperty>- See Also:
-
builder
-