AWS::BedrockAgentCore::GatewayTarget McpLambdaTargetConfiguration - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::BedrockAgentCore::GatewayTarget McpLambdaTargetConfiguration

The Lambda configuration for a Model Context Protocol target. This structure defines how the gateway uses a Lambda function to communicate with the target.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "LambdaArn" : String, "ToolSchema" : ToolSchema }

Properties

LambdaArn

The Amazon Resource Name (ARN) of the Lambda function. This function is invoked by the gateway to communicate with the target.

Required: Yes

Type: String

Pattern: ^arn:(aws[a-zA-Z-]*)?:lambda:([a-z]{2}(-gov)?-[a-z]+-\d{1}):(\d{12}):function:([a-zA-Z0-9-_.]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?$

Minimum: 1

Maximum: 170

Update requires: No interruption

ToolSchema

The tool schema for the Lambda function. This schema defines the structure of the tools that the Lambda function provides.

Required: Yes

Type: ToolSchema

Update requires: No interruption