interface ToolDefinitionProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_bedrockagentcore.CfnGatewayTarget.ToolDefinitionProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrockagentcore#CfnGatewayTarget_ToolDefinitionProperty |
![]() | software.amazon.awscdk.services.bedrockagentcore.CfnGatewayTarget.ToolDefinitionProperty |
![]() | aws_cdk.aws_bedrockagentcore.CfnGatewayTarget.ToolDefinitionProperty |
![]() | aws-cdk-lib » aws_bedrockagentcore » CfnGatewayTarget » 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 { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
declare const schemaDefinitionProperty_: bedrockagentcore.CfnGatewayTarget.SchemaDefinitionProperty;
const toolDefinitionProperty: bedrockagentcore.CfnGatewayTarget.ToolDefinitionProperty = {
description: 'description',
inputSchema: {
type: 'type',
// the properties below are optional
description: 'description',
items: schemaDefinitionProperty_,
properties: {
propertiesKey: schemaDefinitionProperty_,
},
required: ['required'],
},
name: 'name',
// the properties below are optional
outputSchema: {
type: 'type',
// the properties below are optional
description: 'description',
items: schemaDefinitionProperty_,
properties: {
propertiesKey: schemaDefinitionProperty_,
},
required: ['required'],
},
};
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
inputSchema
Type:
IResolvable
|
Schema
The input schema for the gateway target.
name
Type:
string
The tool name.
outputSchema?
Type:
IResolvable
|
Schema
(optional)
The tool definition output schema for the gateway target.