McpTargetConfiguration
The Model Context Protocol (MCP) configuration for a target. This structure defines how the gateway uses MCP to communicate with the target.
Inheritors
Types
The Lambda configuration for the Model Context Protocol target. This configuration defines how the gateway uses a Lambda function to communicate with the target.
The OpenAPI schema for the Model Context Protocol target. This schema defines the API structure of the target.
The Smithy model for the Model Context Protocol target. This model defines the API structure of the target using the Smithy specification.
Functions
Casts this McpTargetConfiguration as a Lambda and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.McpLambdaTargetConfiguration value. Throws an exception if the McpTargetConfiguration is not a Lambda.
Casts this McpTargetConfiguration as a Lambda and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.McpLambdaTargetConfiguration value. Returns null if the McpTargetConfiguration is not a Lambda.
Casts this McpTargetConfiguration as a OpenApiSchema and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.ApiSchemaConfiguration value. Throws an exception if the McpTargetConfiguration is not a OpenApiSchema.
Casts this McpTargetConfiguration as a OpenApiSchema and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.ApiSchemaConfiguration value. Returns null if the McpTargetConfiguration is not a OpenApiSchema.
Casts this McpTargetConfiguration as a SmithyModel and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.ApiSchemaConfiguration value. Throws an exception if the McpTargetConfiguration is not a SmithyModel.
Casts this McpTargetConfiguration as a SmithyModel and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.ApiSchemaConfiguration value. Returns null if the McpTargetConfiguration is not a SmithyModel.