interface ToolDefinitionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.BedrockAgentCore.Mixins.CfnGatewayTargetPropsMixin.ToolDefinitionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbedrockagentcore/mixins#CfnGatewayTargetPropsMixin_ToolDefinitionProperty |
Java | software.amazon.awscdk.mixins.preview.services.bedrockagentcore.mixins.CfnGatewayTargetPropsMixin.ToolDefinitionProperty |
Python | aws_cdk.mixins_preview.aws_bedrockagentcore.mixins.CfnGatewayTargetPropsMixin.ToolDefinitionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_bedrockagentcore » mixins » CfnGatewayTargetPropsMixin » ToolDefinitionProperty |
The tool definition for the gateway.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as bedrockagentcore_mixins } from '@aws-cdk/mixins-preview/aws-bedrockagentcore';
declare const schemaDefinitionProperty_: bedrockagentcore_mixins.CfnGatewayTargetPropsMixin.SchemaDefinitionProperty;
const toolDefinitionProperty: bedrockagentcore_mixins.CfnGatewayTargetPropsMixin.ToolDefinitionProperty = {
description: 'description',
inputSchema: {
description: 'description',
items: schemaDefinitionProperty_,
properties: {
propertiesKey: schemaDefinitionProperty_,
},
required: ['required'],
type: 'type',
},
name: 'name',
outputSchema: {
description: 'description',
items: schemaDefinitionProperty_,
properties: {
propertiesKey: schemaDefinitionProperty_,
},
required: ['required'],
type: 'type',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| description? | string | |
| input | IResolvable | Schema | The input schema for the gateway target. |
| name? | string | The tool name. |
| output | IResolvable | Schema | The tool definition output schema for the gateway target. |
description?
Type:
string
(optional)
inputSchema?
Type:
IResolvable | Schema
(optional)
The input schema for the gateway target.
name?
Type:
string
(optional)
The tool name.
outputSchema?
Type:
IResolvable | Schema
(optional)
The tool definition output schema for the gateway target.

.NET
Go
Java
Python
TypeScript