Interface CfnGatewayTarget.McpLambdaTargetConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGatewayTarget.McpLambdaTargetConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnGatewayTarget
@Stability(Stable)
public static interface CfnGatewayTarget.McpLambdaTargetConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The Lambda target configuration.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrockagentcore.*;
SchemaDefinitionProperty schemaDefinitionProperty_;
McpLambdaTargetConfigurationProperty mcpLambdaTargetConfigurationProperty = McpLambdaTargetConfigurationProperty.builder()
.lambdaArn("lambdaArn")
.toolSchema(ToolSchemaProperty.builder()
.inlinePayload(List.of(ToolDefinitionProperty.builder()
.description("description")
.inputSchema(SchemaDefinitionProperty.builder()
.type("type")
// the properties below are optional
.description("description")
.items(schemaDefinitionProperty_)
.properties(Map.of(
"propertiesKey", schemaDefinitionProperty_))
.required(List.of("required"))
.build())
.name("name")
// the properties below are optional
.outputSchema(SchemaDefinitionProperty.builder()
.type("type")
// the properties below are optional
.description("description")
.items(schemaDefinitionProperty_)
.properties(Map.of(
"propertiesKey", schemaDefinitionProperty_))
.required(List.of("required"))
.build())
.build()))
.s3(S3ConfigurationProperty.builder()
.bucketOwnerAccountId("bucketOwnerAccountId")
.uri("uri")
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGatewayTarget.McpLambdaTargetConfigurationPropertystatic final classAn implementation forCfnGatewayTarget.McpLambdaTargetConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The ARN of the Lambda target configuration.The tool schema configuration for the gateway target MCP configuration for Lambda.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLambdaArn
The ARN of the Lambda target configuration.- See Also:
-
getToolSchema
The tool schema configuration for the gateway target MCP configuration for Lambda.Returns union: either
IResolvableorCfnGatewayTarget.ToolSchemaProperty- See Also:
-
builder
-