GatewayProtocol
- class aws_cdk.aws_bedrock_agentcore_alpha.GatewayProtocol
Bases:
object(deprecated) Factory class for instantiating Gateway Protocols.
- Deprecated:
Use the equivalent construct from
aws-cdk-lib/aws-bedrockagentcoreinstead.- Stability:
deprecated
- Stability:
experimental
Static Methods
- classmethod mcp(*, instructions=None, search_type=None, supported_versions=None)
(deprecated) Create an MCP protocol configuration.
- Parameters:
instructions (
Optional[str]) – (deprecated) The instructions for using the Model Context Protocol gateway. These instructions provide guidance on how to interact with the gateway. Default: - No instructions providedsearch_type (
Optional[McpGatewaySearchType]) – (deprecated) The search type for the Model Context Protocol gateway. This field specifies how the gateway handles search operations. Default: - No search type specifiedsupported_versions (
Optional[Sequence[MCPProtocolVersion]]) – (deprecated) The supported versions of the Model Context Protocol. This field specifies which versions of the protocol the gateway can use. Default: - No specific versions specified
- Return type:
- Returns:
IGatewayProtocolConfig configured for MCP
- Stability:
deprecated