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

Rename lambda.Lambda to lambda.Function #430

Closed
eladb opened this issue Jul 30, 2018 · 0 comments
Closed

Rename lambda.Lambda to lambda.Function #430

eladb opened this issue Jul 30, 2018 · 0 comments

Comments

@eladb
Copy link
Contributor

eladb commented Jul 30, 2018

Since we now encourage using namespaced imports import lambda = require('@aws-cdk/aws-lambda'), it should be fine (at least from JavaScript's perspective) to use Function as the name of the class. If this proves problematic in other languages, jsii generators should mangle the name (similarly to other reserved words).

Also, clean up the class names in @aws-cdk/aws-lambda not to include a Lambda prefix

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