Aws-cdk: fromTableName and fromTableArn

Created on 1 Sep 2019  路  6Comments  路  Source: aws/aws-cdk

:rocket: Feature Request

General Information

  • [X] :wave: I may be able to implement this feature request
  • [ ] :warning: This feature might incur a breaking change

Description


The DynamoDB Table Construct should support two static methods fromTableName and fromTableArn to create Table objects so that grant*() methods can be used to give Lambda Functions permissions to CRUD the Table.

Proposed Solution


Ctrl + C / Ctrl + V from maybe S3 Buckets.

Environment

  • CDK CLI Version:
  • Module Version:
  • OS: all
  • Language: all

Other information

@aws-cdaws-dynamodb feature-request in-progress

Most helpful comment

Another use case is subscribing a lambda function to an existing(defined elsewhere) table stream.

All 6 comments

Another use case is subscribing a lambda function to an existing(defined elsewhere) table stream.

@rhboyd,

Sorry for the long delay. This seems like a totally reasonable add!

馃樃

Is it possible to do this using any lower level APIs?

Any news for that? Need it desperately....

Any progress on it? Might I contribute PR for it.

Go ahead @zxkane .

Was this page helpful?
0 / 5 - 0 ratings