Interface CfnGatewayTargetPropsMixin.McpTargetConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGatewayTargetPropsMixin.McpTargetConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnGatewayTargetPropsMixin
@Stability(Stable)
public static interface CfnGatewayTargetPropsMixin.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.cfnpropertymixins.services.bedrockagentcore.*;
SchemaDefinitionProperty schemaDefinitionProperty_;
McpTargetConfigurationProperty mcpTargetConfigurationProperty = McpTargetConfigurationProperty.builder()
.apiGateway(ApiGatewayTargetConfigurationProperty.builder()
.apiGatewayToolConfiguration(ApiGatewayToolConfigurationProperty.builder()
.toolFilters(List.of(ApiGatewayToolFilterProperty.builder()
.filterPath("filterPath")
.methods(List.of("methods"))
.build()))
.toolOverrides(List.of(ApiGatewayToolOverrideProperty.builder()
.description("description")
.method("method")
.name("name")
.path("path")
.build()))
.build())
.restApiId("restApiId")
.stage("stage")
.build())
.lambda(McpLambdaTargetConfigurationProperty.builder()
.lambdaArn("lambdaArn")
.toolSchema(ToolSchemaProperty.builder()
.inlinePayload(List.of(ToolDefinitionProperty.builder()
.description("description")
.inputSchema(SchemaDefinitionProperty.builder()
.description("description")
.items(schemaDefinitionProperty_)
.properties(Map.of(
"propertiesKey", schemaDefinitionProperty_))
.required(List.of("required"))
.type("type")
.build())
.name("name")
.outputSchema(SchemaDefinitionProperty.builder()
.description("description")
.items(schemaDefinitionProperty_)
.properties(Map.of(
"propertiesKey", schemaDefinitionProperty_))
.required(List.of("required"))
.type("type")
.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 classstatic final classAn implementation forCfnGatewayTargetPropsMixin.McpTargetConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherIResolvableorCfnGatewayTargetPropsMixin.ApiGatewayTargetConfigurationPropertydefault ObjectThe Lambda MCP configuration for the gateway target.default ObjectReturns union: eitherIResolvableorCfnGatewayTargetPropsMixin.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
-
getApiGateway
Returns union: eitherIResolvableorCfnGatewayTargetPropsMixin.ApiGatewayTargetConfigurationProperty- See Also:
-
getLambda
The Lambda MCP configuration for the gateway target.Returns union: either
IResolvableorCfnGatewayTargetPropsMixin.McpLambdaTargetConfigurationProperty- See Also:
-
getMcpServer
Returns union: eitherIResolvableorCfnGatewayTargetPropsMixin.McpServerTargetConfigurationProperty- See Also:
-
getOpenApiSchema
The OpenApi schema for the gateway target MCP configuration.Returns union: either
IResolvableorCfnGatewayTargetPropsMixin.ApiSchemaConfigurationProperty- See Also:
-
getSmithyModel
The target configuration for the Smithy model target.Returns union: either
IResolvableorCfnGatewayTargetPropsMixin.ApiSchemaConfigurationProperty- See Also:
-
builder
@Stability(Stable) static CfnGatewayTargetPropsMixin.McpTargetConfigurationProperty.Builder builder()
-