Skip to content

Bedrock Agentcore Control  >  Unions  >  McpTargetConfiguration

McpTargetConfiguration

Union Type

McpTargetConfiguration module-attribute

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

value instance-attribute

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

value instance-attribute

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

value instance-attribute

McpTargetConfigurationMcpServer dataclass

The MCP server specified as the gateway target.

Attributes

value instance-attribute

McpTargetConfigurationApiGateway dataclass

The configuration for an Amazon API Gateway target.

Attributes

value instance-attribute

McpTargetConfigurationConnector dataclass

The connector integration configuration for the Model Context Protocol target. This configuration defines how the gateway uses a pre-built connector to communicate with the target.

Attributes

value instance-attribute

McpTargetConfigurationUnknown dataclass

Represents an unknown variant.

If you receive this value, you will need to update your library to receive the parsed value.

This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str