add ddb table as event source for lambda #13798
-
Looks like if table exists, and ddb stream is enabled, using cdk is not able to create the trigger table = dynamodb.Table.from_table_arn(self, 'SourceTable', table_arn)
lambda_event_sources.DynamoEventSource(
table=table,
starting_position=_lambda.StartingPosition.LATEST
).bind(lambda_function) But i got the following error, though the ddb stream on the table is enabled.
Any idea? |
Beta Was this translation helpful? Give feedback.
Answered by
peterwoodworth
Apr 12, 2023
Replies: 2 comments
-
You'll need to specify the tableStreamArn when importing the resource from attributes |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
peterwoodworth
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You'll need to specify the tableStreamArn when importing the resource from attributes