Skip to content
This repository was archived by the owner on Oct 6, 2022. It is now read-only.
This repository was archived by the owner on Oct 6, 2022. It is now read-only.

aws_apigatewayv2_integrations_1.LambdaProxyIntegration is not a constructor #505

@oscarnevarezleal

Description

@oscarnevarezleal

After following the steps described in README I cannot get CDK to synthesize the application.

  • Cdk version is 2.12.0 (build c9786db)
  • CLI message shown below
$ cdk diff
aws_apigatewayv2_integrations_1.LambdaProxyIntegration is not a constructor
Subprocess exited with error 1

package.json

{
  "name": "cdk",
  "version": "0.1.0",
  "bin": {
    "cdk": "bin/cdk.js"
  },
  "scripts": {
    "build": "tsc",
    "watch": "tsc -w",
    "test": "jest",
    "cdk": "cdk"
  },
  "devDependencies": {
    "@types/jest": "^26.0.10",
    "@types/node": "10.17.27",
    "aws-cdk": "2.12.0",
    "jest": "^26.4.2",
    "ts-jest": "^26.2.0",
    "ts-node": "^9.0.0",
    "typescript": "~3.9.7"
  },
  "dependencies": {
    "aws-cdk-lib": "2.12.0",
    "cdk-serverless-lamp": "^1.4.52",
    "constructs": "^10.0.0",
    "source-map-support": "^0.5.16"
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions