UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

2 lines (1 loc) 1.69 kB
"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.WebSocketAwsIntegration=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 WebSocketAwsIntegration extends aws_apigatewayv2_1().WebSocketRouteIntegration{constructor(id,props){super(id),this.props=props;try{jsiiDeprecationWarnings().aws_cdk_lib_aws_apigatewayv2_integrations_WebSocketAwsIntegrationProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,WebSocketAwsIntegration),error}}bind(_options){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_apigatewayv2_WebSocketRouteIntegrationBindOptions(_options)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.bind),error}return{type:aws_apigatewayv2_1().WebSocketIntegrationType.AWS,uri:this.props.integrationUri,method:this.props.integrationMethod,contentHandling:this.props.contentHandling,credentialsRole:this.props.credentialsRole,requestParameters:this.props.requestParameters,requestTemplates:this.props.requestTemplates,passthroughBehavior:this.props.passthroughBehavior,templateSelectionExpression:this.props.templateSelectionExpression,timeout:this.props.timeout}}}exports.WebSocketAwsIntegration=WebSocketAwsIntegration,_a=JSII_RTTI_SYMBOL_1,WebSocketAwsIntegration[_a]={fqn:"aws-cdk-lib.aws_apigatewayv2_integrations.WebSocketAwsIntegration",version:"2.202.0"};