interface ApiGatewayToolConfiguration
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Bedrock.Agentcore.Alpha.ApiGatewayToolConfiguration |
Go | github.com/aws/aws-cdk-go/awsbedrockagentcorealpha/v2#ApiGatewayToolConfiguration |
Java | software.amazon.awscdk.services.bedrock.agentcore.alpha.ApiGatewayToolConfiguration |
Python | aws_cdk.aws_bedrock_agentcore_alpha.ApiGatewayToolConfiguration |
TypeScript (source) | @aws-cdk/aws-bedrock-agentcore-alpha ยป ApiGatewayToolConfiguration |
Configuration for API Gateway tools.
The API Gateway tool configuration defines which operations from your REST API are exposed as tools. It requires a list of tool filters to select operations to expose, and optionally accepts tool overrides to customize tool metadata.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as bedrock_agentcore_alpha from '@aws-cdk/aws-bedrock-agentcore-alpha';
const apiGatewayToolConfiguration: bedrock_agentcore_alpha.ApiGatewayToolConfiguration = {
toolFilters: [{
filterPath: 'filterPath',
methods: [bedrock_agentcore_alpha.ApiGatewayHttpMethod.GET],
}],
// the properties below are optional
toolOverrides: [{
method: bedrock_agentcore_alpha.ApiGatewayHttpMethod.GET,
name: 'name',
path: 'path',
// the properties below are optional
description: 'description',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| tool | Api[] | List of tool filters to select operations At least one filter is required. |
| tool | Api[] | Optional list of tool overrides to customize tool metadata Each override must correspond to an operation selected by the filters. |
toolFilters
Type:
Api[]
List of tool filters to select operations At least one filter is required.
toolOverrides?
Type:
Api[]
(optional, default: No tool overrides)
Optional list of tool overrides to customize tool metadata Each override must correspond to an operation selected by the filters.

.NET
Go
Java
Python
TypeScript (