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: