GatewayProtocol
- class aws_cdk.aws_bedrock_agentcore_alpha.GatewayProtocol
Bases:
object(experimental) Factory class for instantiating Gateway Protocols.
- Stability:
experimental
- Stability:
experimental
Static Methods
- classmethod mcp(*, instructions=None, search_type=None, supported_versions=None)
(experimental) Create an MCP protocol configuration.
- Parameters:
instructions (
Optional[str]) – (experimental) 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]) – (experimental) 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]]) – (experimental) 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:
experimental