McpTargetConfiguration¶
Union Type¶
McpTargetConfiguration
module-attribute
¶
McpTargetConfiguration = Union[McpTargetConfigurationOpenApiSchema | McpTargetConfigurationSmithyModel | McpTargetConfigurationLambda | McpTargetConfigurationMcpServer | McpTargetConfigurationApiGateway | McpTargetConfigurationConnector | McpTargetConfigurationUnknown]
The Model Context Protocol (MCP) configuration for a target. This structure defines how the gateway uses MCP to communicate with the target.
Union Member Types¶
McpTargetConfigurationOpenApiSchema
dataclass
¶
The OpenAPI schema for the Model Context Protocol target. This schema defines the API structure of the target.
Attributes¶
McpTargetConfigurationSmithyModel
dataclass
¶
The Smithy model for the Model Context Protocol target. This model defines the API structure of the target using the Smithy specification.
Attributes¶
McpTargetConfigurationLambda
dataclass
¶
The Lambda configuration for the Model Context Protocol target. This configuration defines how the gateway uses a Lambda function to communicate with the target.
Attributes¶
McpTargetConfigurationMcpServer
dataclass
¶
The MCP server specified as the gateway target.
Attributes¶
McpTargetConfigurationApiGateway
dataclass
¶
The configuration for an Amazon API Gateway target.