McpLambdaTargetConfiguration - Amazon Bedrock AgentCore Control

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.

Contents

lambdaArn

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

Type: String

Length Constraints: Minimum length of 1. Maximum length of 170.

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-]+))?

Required: Yes

toolSchema

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

Type: ToolSchema object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: