Tony J
03/14/2022, 6:04 PMTypeError: Cannot read property ‘Symbol(@aws-cdk/core.Stack.myStack)’ of undefined
at Function.of (/node_modules/aws-cdk-lib/core/lib/stack.ts:67:20)
at lambdaAuthorizerArn (/node_modules/@aws-cdk/aws-apigatewayv2-authorizers-alpha/lib/http/lambda.ts:96:23)
at HttpLambdaAuthorizer2.bind (/node_modules/@aws-cdk/aws-apigatewayv2-authorizers-alpha/lib/http/lambda.ts:70:24)
Ross Coundon
03/14/2022, 6:32 PMconst basicAuthHandler = new sst.Function(this, 'basicAuthHandler', {
handler: 'src/main/handlers/auth/some.handler',
});
const basicAuthoriser = new apigAuthorizers.HttpLambdaAuthorizer('basic-authorizer', basicAuthHandler, {
authorizerName: 'lambdaBasicAuthoriser',
});
Tony J
03/14/2022, 6:40 PMFrank
Frank
Tony J
03/30/2022, 2:00 AM