Aws-cdk: Missing exports in @aws-cdk/aws-lambda-event-sources v1.11.0

Created on 3 Oct 2019  路  2Comments  路  Source: aws/aws-cdk

It's impossible to use the DynamoDB or Kinesis event source from @aws-cdk/aws-lambda-event-sources in v1.11.0 because there are missing exports in stream.d.ts: https://unpkg.com/browse/@aws-cdk/aws[email protected]/lib/stream.d.ts

Reproduction Steps


Use @aws-cdk/aws-lambda-event-sources in your app.

Error Log


error TS2305: Module '"./stream"' has no exported member 'StreamEventSource'.
error TS2305: Module '"./stream"' has no exported member 'StreamEventSourceProps'.

Environment

  • CLI Version : 1.11.0
  • Framework Version: 1.11.0
  • OS : all
  • Language : all

Other

This has been introduced in #4260 (4040032) and is most probably linked to the @internal https://github.com/aws/aws-cdk/blob/4040032a7944bf60dee4bf07d3d73a70874270e0/packages/%40aws-cdk/aws-lambda-event-sources/lib/stream.ts#L5?


This is :bug: Bug Report

bug needs-triage

All 2 comments

Duplicate of #4352

Duplicate of #4352

Exactly, missed it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kawamoto picture kawamoto  路  3Comments

artyom-melnikov picture artyom-melnikov  路  3Comments

abelmokadem picture abelmokadem  路  3Comments

v-do picture v-do  路  3Comments

eladb picture eladb  路  3Comments