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

Lambda: renames to utilize namespace semantics #550

Merged
merged 1 commit into from
Aug 13, 2018
Merged

Commits on Aug 12, 2018

  1. feat(aws-lambda): multiple renames to utilize namespace semantics

    As we move to using namespace imports across the CDK, the naming we
    chose for Lambda classes become cumbersome (i.e. `lambda.LambdaRuntime`).
    This change renames all lambda classes to adhere to service semantics.
    
    BREAKING CHANGE
    
    * LambdaRef => lambda.FunctionRef
    * Lambda => lambda.Function
    * LambdaVersion => lambda.FunctionVersion
    * LambdaRuntime => lambda.Runtime
    * LambdaCode => lambda.Code (and all subclasses)
    * InlineJavaScriptLambda => lambda.InlineJavaScriptFunction (soon to be deprecated)
    * LambdaPermission => lambda.Permission
    * SingletonLambda => SingletonFunction
    
    Updated tests to use import-requires.
    
    Intentionally avoided file renames to facilitate code review. Will do so
    in a subsequent PR.
    Elad Ben-Israel committed Aug 12, 2018
    Configuration menu
    Copy the full SHA
    1615a67 View commit details
    Browse the repository at this point in the history