Interface CfnGatewayTarget.McpTargetConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGatewayTarget.McpTargetConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnGatewayTarget
@Stability(Stable)
public static interface CfnGatewayTarget.McpTargetConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The MCP target configuration for the gateway target.
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_;
McpTargetConfigurationProperty mcpTargetConfigurationProperty = McpTargetConfigurationProperty.builder()
.lambda(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())
.mcpServer(McpServerTargetConfigurationProperty.builder()
.endpoint("endpoint")
.build())
.openApiSchema(ApiSchemaConfigurationProperty.builder()
.inlinePayload("inlinePayload")
.s3(S3ConfigurationProperty.builder()
.bucketOwnerAccountId("bucketOwnerAccountId")
.uri("uri")
.build())
.build())
.smithyModel(ApiSchemaConfigurationProperty.builder()
.inlinePayload("inlinePayload")
.s3(S3ConfigurationProperty.builder()
.bucketOwnerAccountId("bucketOwnerAccountId")
.uri("uri")
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGatewayTarget.McpTargetConfigurationPropertystatic final classAn implementation forCfnGatewayTarget.McpTargetConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe Lambda MCP configuration for the gateway target.default ObjectReturns union: eitherIResolvableorCfnGatewayTarget.McpServerTargetConfigurationPropertydefault ObjectThe OpenApi schema for the gateway target MCP configuration.default ObjectThe target configuration for the Smithy model target.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLambda
The Lambda MCP configuration for the gateway target.Returns union: either
IResolvableorCfnGatewayTarget.McpLambdaTargetConfigurationProperty- See Also:
-
getMcpServer
Returns union: eitherIResolvableorCfnGatewayTarget.McpServerTargetConfigurationProperty- See Also:
-
getOpenApiSchema
The OpenApi schema for the gateway target MCP configuration.Returns union: either
IResolvableorCfnGatewayTarget.ApiSchemaConfigurationProperty- See Also:
-
getSmithyModel
The target configuration for the Smithy model target.Returns union: either
IResolvableorCfnGatewayTarget.ApiSchemaConfigurationProperty- See Also:
-
builder
-