McpTargetConfiguration
The Model Context Protocol (MCP) configuration for a target. This structure defines how the gateway uses MCP to communicate with the target.
Contents
Important
This data type is a UNION, so only one of the following members can be specified when used or returned.
- lambda
-
The Lambda configuration for the Model Context Protocol target. This configuration defines how the gateway uses a Lambda function to communicate with the target.
Type: McpLambdaTargetConfiguration object
Required: No
- openApiSchema
-
The OpenAPI schema for the Model Context Protocol target. This schema defines the API structure of the target.
Type: ApiSchemaConfiguration object
Note: This object is a Union. Only one member of this object can be specified or returned.
Required: No
- smithyModel
-
The Smithy model for the Model Context Protocol target. This model defines the API structure of the target using the Smithy specification.
Type: ApiSchemaConfiguration object
Note: This object is a Union. Only one member of this object can be specified or returned.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: