// The code below shows an example of how to instantiate this type.// The values are placeholders you should change.import { aws_bedrockagentcore as bedrockagentcore } from'aws-cdk-lib';
const weightedRouteProperty: bedrockagentcore.CfnGatewayRule.WeightedRouteProperty = {
trafficSplit: [{
name: 'name',
targetName: 'targetName',
weight: 123,
// the properties below are optional
description: 'description',
metadata: {
metadataKey: 'metadata',
},
}],
};