interface TargetTrafficSplitEntryProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.BedrockAgentCore.CfnGatewayRule.TargetTrafficSplitEntryProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrockagentcore#CfnGatewayRule_TargetTrafficSplitEntryProperty |
Java | software.amazon.awscdk.services.bedrockagentcore.CfnGatewayRule.TargetTrafficSplitEntryProperty |
Python | aws_cdk.aws_bedrockagentcore.CfnGatewayRule.TargetTrafficSplitEntryProperty |
TypeScript | aws-cdk-lib » aws_bedrockagentcore » CfnGatewayRule » TargetTrafficSplitEntryProperty |
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-lib';
const targetTrafficSplitEntryProperty: bedrockagentcore.CfnGatewayRule.TargetTrafficSplitEntryProperty = {
name: 'name',
targetName: 'targetName',
weight: 123,
// the properties below are optional
description: 'description',
metadata: {
metadataKey: 'metadata',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| name | string | |
| target | string | |
| weight | number | |
| description? | string | |
| metadata? | IResolvable | { [string]: string } |
name
Type:
string
targetName
Type:
string
weight
Type:
number
description?
Type:
string
(optional)
metadata?
Type:
IResolvable | { [string]: string }
(optional)

.NET
Go
Java
Python
TypeScript