AWS::BedrockAgentCore::GatewayTarget McpLambdaTargetConfiguration - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS 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 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