interface McpTargetConfigurationProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_bedrockagentcore.CfnGatewayTarget.McpTargetConfigurationProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrockagentcore#CfnGatewayTarget_McpTargetConfigurationProperty |
![]() | software.amazon.awscdk.services.bedrockagentcore.CfnGatewayTarget.McpTargetConfigurationProperty |
![]() | aws_cdk.aws_bedrockagentcore.CfnGatewayTarget.McpTargetConfigurationProperty |
![]() | aws-cdk-lib » aws_bedrockagentcore » CfnGatewayTarget » McpTargetConfigurationProperty |
The MCP target configuration for the gateway target.
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 mcpTargetConfigurationProperty: bedrockagentcore.CfnGatewayTarget.McpTargetConfigurationProperty = {
lambda: {
lambdaArn: 'lambdaArn',
toolSchema: {
inlinePayload: [{
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'],
},
}],
s3: {
bucketOwnerAccountId: 'bucketOwnerAccountId',
uri: 'uri',
},
},
},
openApiSchema: {
inlinePayload: 'inlinePayload',
s3: {
bucketOwnerAccountId: 'bucketOwnerAccountId',
uri: 'uri',
},
},
smithyModel: {
inlinePayload: 'inlinePayload',
s3: {
bucketOwnerAccountId: 'bucketOwnerAccountId',
uri: 'uri',
},
},
};
Properties
Name | Type | Description |
---|---|---|
lambda? | IResolvable | Mcp | The Lambda MCP configuration for the gateway target. |
open | IResolvable | Api | The OpenApi schema for the gateway target MCP configuration. |
smithy | IResolvable | Api | The target configuration for the Smithy model target. |
lambda?
Type:
IResolvable
|
Mcp
(optional)
The Lambda MCP configuration for the gateway target.
openApiSchema?
Type:
IResolvable
|
Api
(optional)
The OpenApi schema for the gateway target MCP configuration.
smithyModel?
Type:
IResolvable
|
Api
(optional)
The target configuration for the Smithy model target.