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