Class CfnGatewayTarget.McpLambdaTargetConfigurationProperty
The Lambda target configuration.
Inherited Members
Namespace: Amazon.CDK.AWS.BedrockAgentCore
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnGatewayTarget.McpLambdaTargetConfigurationProperty : CfnGatewayTarget.IMcpLambdaTargetConfigurationProperty
Syntax (vb)
Public Class CfnGatewayTarget.McpLambdaTargetConfigurationProperty Implements CfnGatewayTarget.IMcpLambdaTargetConfigurationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.BedrockAgentCore;
SchemaDefinitionProperty schemaDefinitionProperty_;
var mcpLambdaTargetConfigurationProperty = new McpLambdaTargetConfigurationProperty {
LambdaArn = "lambdaArn",
ToolSchema = new ToolSchemaProperty {
InlinePayload = new [] { new ToolDefinitionProperty {
Description = "description",
InputSchema = new SchemaDefinitionProperty {
Type = "type",
// the properties below are optional
Description = "description",
Items = schemaDefinitionProperty_,
Properties = new Dictionary<string, object> {
{ "propertiesKey", schemaDefinitionProperty_ }
},
Required = new [] { "required" }
},
Name = "name",
// the properties below are optional
OutputSchema = new SchemaDefinitionProperty {
Type = "type",
// the properties below are optional
Description = "description",
Items = schemaDefinitionProperty_,
Properties = new Dictionary<string, object> {
{ "propertiesKey", schemaDefinitionProperty_ }
},
Required = new [] { "required" }
}
} },
S3 = new S3ConfigurationProperty {
BucketOwnerAccountId = "bucketOwnerAccountId",
Uri = "uri"
}
}
};
Synopsis
Constructors
| McpLambdaTargetConfigurationProperty() | The Lambda target configuration. |
Properties
| LambdaArn | The ARN of the Lambda target configuration. |
| ToolSchema | The tool schema configuration for the gateway target MCP configuration for Lambda. |
Constructors
McpLambdaTargetConfigurationProperty()
The Lambda target configuration.
public McpLambdaTargetConfigurationProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.BedrockAgentCore;
SchemaDefinitionProperty schemaDefinitionProperty_;
var mcpLambdaTargetConfigurationProperty = new McpLambdaTargetConfigurationProperty {
LambdaArn = "lambdaArn",
ToolSchema = new ToolSchemaProperty {
InlinePayload = new [] { new ToolDefinitionProperty {
Description = "description",
InputSchema = new SchemaDefinitionProperty {
Type = "type",
// the properties below are optional
Description = "description",
Items = schemaDefinitionProperty_,
Properties = new Dictionary<string, object> {
{ "propertiesKey", schemaDefinitionProperty_ }
},
Required = new [] { "required" }
},
Name = "name",
// the properties below are optional
OutputSchema = new SchemaDefinitionProperty {
Type = "type",
// the properties below are optional
Description = "description",
Items = schemaDefinitionProperty_,
Properties = new Dictionary<string, object> {
{ "propertiesKey", schemaDefinitionProperty_ }
},
Required = new [] { "required" }
}
} },
S3 = new S3ConfigurationProperty {
BucketOwnerAccountId = "bucketOwnerAccountId",
Uri = "uri"
}
}
};
Properties
LambdaArn
The ARN of the Lambda target configuration.
public string LambdaArn { get; set; }
Property Value
Remarks
ToolSchema
The tool schema configuration for the gateway target MCP configuration for Lambda.
public object ToolSchema { get; set; }