aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
2 lines (1 loc) • 945 B
JavaScript
;var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.Authorizer=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),core_1=require("../../core"),method_1=require("./method"),AUTHORIZER_SYMBOL=Symbol.for("@aws-cdk/aws-apigateway.Authorizer");class Authorizer extends core_1.Resource{constructor(scope,id,props){super(scope,id,props),this.authorizationType=method_1.AuthorizationType.CUSTOM;try{jsiiDeprecationWarnings.aws_cdk_lib_ResourceProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,Authorizer),error}Object.defineProperty(this,AUTHORIZER_SYMBOL,{value:!0})}static isAuthorizer(x){return x!==null&&typeof x=="object"&&AUTHORIZER_SYMBOL in x}}exports.Authorizer=Authorizer,_a=JSII_RTTI_SYMBOL_1,Authorizer[_a]={fqn:"aws-cdk-lib.aws_apigateway.Authorizer",version:"2.70.0"};