interface RouteToTargetActionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.BedrockAgentCore.CfnGatewayRulePropsMixin.RouteToTargetActionProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsbedrockagentcore#CfnGatewayRulePropsMixin_RouteToTargetActionProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.bedrockagentcore.CfnGatewayRulePropsMixin.RouteToTargetActionProperty |
Python | aws_cdk.cfn_property_mixins.aws_bedrockagentcore.CfnGatewayRulePropsMixin.RouteToTargetActionProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_bedrockagentcore » CfnGatewayRulePropsMixin » RouteToTargetActionProperty |
Example
// 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/cfn-property-mixins';
const routeToTargetActionProperty: bedrockagentcore.CfnGatewayRulePropsMixin.RouteToTargetActionProperty = {
staticRoute: {
targetName: 'targetName',
},
weightedRoute: {
trafficSplit: [{
description: 'description',
metadata: {
metadataKey: 'metadata',
},
name: 'name',
targetName: 'targetName',
weight: 123,
}],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| static | IResolvable | Static | |
| weighted | IResolvable | Weighted |
staticRoute?
Type:
IResolvable | Static
(optional)
weightedRoute?
Type:
IResolvable | Weighted
(optional)

.NET
Go
Java
Python
TypeScript