-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow specifying LambdaAuthorizer Node runtime #26
Labels
kind/enhancement
Improvements or new features
Comments
What version of pulumi-awsx are you using? Paul |
0.30.0 |
Please can you give me a snippet of the code you are using here to help me understand what you want us to change? Thanks Paul |
Something like: const authorizer: awsx.apigateway.LambdaAuthorizer = {
...restOfParams,
runtime: "nodejs14.x",
handler: async (
event: awsx.apigateway.AuthorizerEvent
): Promise<awsx.apigateway.AuthorizerResponse> => {
return awsx.apigateway.authorizerResponse(
principal,
effect,
event.methodArn,
undefined,
apikey
);
},
}; Runtime doesn't seem to be exposed here: https://github.com/pulumi/pulumi-awsx/blob/af311d33f20aef8462ada78b494ea17ec16e767c/nodejs/awsx/apigateway/lambdaAuthorizer.ts#L32 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello!
Issue details
Seems to choose Node 12.x and not allow configuring, is that intentional?
The text was updated successfully, but these errors were encountered: