"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.McpProtocolConfiguration=exports.McpGatewaySearchType=exports.MCPProtocolVersion=exports.GatewayProtocol=exports.GatewayProtocolType=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");var GatewayProtocolType;(function(GatewayProtocolType2){GatewayProtocolType2.MCP="MCP"})(GatewayProtocolType||(exports.GatewayProtocolType=GatewayProtocolType={}));class GatewayProtocol{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_bedrockagentcore.GatewayProtocol",version:"2.256.1"};static mcp(props){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_bedrockagentcore_McpConfiguration(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.mcp),error}return new McpProtocolConfiguration(props)}}exports.GatewayProtocol=GatewayProtocol;class MCPProtocolVersion{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_bedrockagentcore.MCPProtocolVersion",version:"2.256.1"};static MCP_2025_06_18=new MCPProtocolVersion("2025-06-18");static MCP_2025_03_26=new MCPProtocolVersion("2025-03-26");static of(value){return new MCPProtocolVersion(value)}value;constructor(value){this.value=value}toString(){return this.value}}exports.MCPProtocolVersion=MCPProtocolVersion;class McpGatewaySearchType{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_bedrockagentcore.McpGatewaySearchType",version:"2.256.1"};static SEMANTIC=new McpGatewaySearchType("SEMANTIC");static of(value){return new McpGatewaySearchType(value)}value;constructor(value){this.value=value}toString(){return this.value}}exports.McpGatewaySearchType=McpGatewaySearchType;class McpProtocolConfiguration{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_bedrockagentcore.McpProtocolConfiguration",version:"2.256.1"};protocolType;supportedVersions;searchType;instructions;constructor(props){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_bedrockagentcore_McpConfiguration(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,McpProtocolConfiguration),error}this.searchType=props?.searchType?.value,this.supportedVersions=props?.supportedVersions,this.instructions=props?.instructions,this.protocolType=GatewayProtocolType.MCP}_render(){return{mcp:{...this.instructions&&{instructions:this.instructions},...this.searchType&&{searchType:this.searchType},...this.supportedVersions&&{supportedVersions:this.supportedVersions.map(v=>v.value)}}}}}exports.McpProtocolConfiguration=McpProtocolConfiguration;
