Skip to content
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

@cloudcomponents/cdk-cloudfront-authorization | Support custom lambda names #170

Open
coltenkrauter opened this issue Apr 5, 2022 · 0 comments

Comments

@coltenkrauter
Copy link

I would like to provide custom names for generated lambda functions, would this be possible? If not, could support be added to accomplish this?

For example, here is a generated function name when using the SPA example found here: https://www.npmjs.com/package/@cloudcomponents/cdk-cloudfront-authorization

StackName-signoutFunction60A00DBD-dVM0aZfroavU

I would like to customize it something like this,

StackNameAuthSignout

Related thoughts

The ServerlessNextJS construct supports supplying custom names for lambdas, like this,

name:
    defaultLambda: fooDefaultLambda
    apiLambda: fooApiLambda
    imageLambda: fooImageLambda

So, perhaps @cloudcomponents/cdk-cloudfront-authorization could also support something similar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant