interface ActionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.BedrockAgentCore.CfnGatewayRule.ActionProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrockagentcore#CfnGatewayRule_ActionProperty |
Java | software.amazon.awscdk.services.bedrockagentcore.CfnGatewayRule.ActionProperty |
Python | aws_cdk.aws_bedrockagentcore.CfnGatewayRule.ActionProperty |
TypeScript | aws-cdk-lib » aws_bedrockagentcore » CfnGatewayRule » ActionProperty |
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 actionProperty: bedrockagentcore.CfnGatewayRule.ActionProperty = {
configurationBundle: {
staticOverride: {
bundleArn: 'bundleArn',
bundleVersion: 'bundleVersion',
},
weightedOverride: {
trafficSplit: [{
configurationBundle: {
bundleArn: 'bundleArn',
bundleVersion: 'bundleVersion',
},
name: 'name',
weight: 123,
// the properties below are optional
description: 'description',
metadata: {
metadataKey: 'metadata',
},
}],
},
},
routeToTarget: {
staticRoute: {
targetName: 'targetName',
},
weightedRoute: {
trafficSplit: [{
name: 'name',
targetName: 'targetName',
weight: 123,
// the properties below are optional
description: 'description',
metadata: {
metadataKey: 'metadata',
},
}],
},
},
};
Properties
| Name | Type | Description |
|---|---|---|
| configuration | IResolvable | Configuration | |
| route | IResolvable | Route |
configurationBundle?
Type:
IResolvable | Configuration
(optional)
routeToTarget?
Type:
IResolvable | Route
(optional)

.NET
Go
Java
Python
TypeScript