MDAA TS Docs
    Preparing search index...

    Interface GatewayTargetLambdaProperty

    Lambda tool source for a gateway target. The gateway invokes this Lambda (using its execution role) to serve the MCP tools described by toolSchema.

    AWS: AWS::BedrockAgentCore::GatewayTarget McpLambdaTargetConfiguration

    interface GatewayTargetLambdaProperty {
        lambdaArn: string;
        toolSchema: GatewayTargetToolSchemaProperty;
    }
    Index

    Properties

    lambdaArn: string

    ARN of the Lambda function that implements the tool(s). The gateway execution role is granted scoped lambda:InvokeFunction on exactly this ARN (by the L3 orchestration construct).

    AWS: McpLambdaTargetConfiguration LambdaArn

    Validation: Required; Lambda function ARN

    Schema describing the MCP tools the Lambda exposes — the catalog (tool name + JSON-schema of inputs/outputs) the gateway advertises to agents and dispatches to this Lambda. For example, a getWeather tool taking a required city string: { inlinePayload: [{ name: 'getWeather', description: 'Returns the weather for a city', inputSchema: { type: 'object', properties: { city: { type: 'string' } }, required: ['city'] } }] }. See the AWS tool-schema examples (https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/gateway-add-target-lambda.html#gateway-lambda-example).

    AWS: McpLambdaTargetConfiguration ToolSchema

    Validation: Required; exactly one of inlinePayload or s3