"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.HttpUrlIntegration=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");var aws_apigatewayv2_1=()=>{var tmp=require("../../../aws-apigatewayv2");return aws_apigatewayv2_1=()=>tmp,tmp};class HttpUrlIntegration extends aws_apigatewayv2_1().HttpRouteIntegration{constructor(id,url,props={}){super(id),this.url=url,this.props=props;try{jsiiDeprecationWarnings().aws_cdk_lib_aws_apigatewayv2_integrations_HttpUrlIntegrationProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,HttpUrlIntegration),error}}bind(_options){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_apigatewayv2_HttpRouteIntegrationBindOptions(_options)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.bind),error}return{method:this.props.method??aws_apigatewayv2_1().HttpMethod.ANY,payloadFormatVersion:aws_apigatewayv2_1().PayloadFormatVersion.VERSION_1_0,type:aws_apigatewayv2_1().HttpIntegrationType.HTTP_PROXY,uri:this.url,parameterMapping:this.props.parameterMapping,timeout:this.props.timeout}}}exports.HttpUrlIntegration=HttpUrlIntegration,_a=JSII_RTTI_SYMBOL_1,HttpUrlIntegration[_a]={fqn:"aws-cdk-lib.aws_apigatewayv2_integrations.HttpUrlIntegration",version:"2.159.0"};
