fromTableName and fromTableArn
See original GitHub issue🚀 Feature Request
General Information
- 👋 I may be able to implement this feature request
- ⚠️ 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
Issue Analytics
- State:
- Created 4 years ago
- Reactions:7
- Comments:6 (3 by maintainers)
Top Results From Across the Web
class Table (construct) · AWS CDK - AWS Documentation
Creates a Table construct that represents an external table. static fromTableName(scope, id, tableName). public static fromTableName(scope: Construct, ...
Read more >AWS CDK getting DynamoDB Stream ARN returns null
I tried the below, but when I access the streamArn using the getTableStreamArn it returns back null. ITable table = Table.fromTableArn(this, " ...
Read more >How to Import Existing Resources in AWS CDK | bobbyhadz
the Dynamodb Table construct exposes the fromTableArn, fromTableName and ... To import an existing table from ARN we have to use the fromTableArn...
Read more >@aws-cdk/aws-dynamodb | Yarn - Package Manager
fromTableName , Table.fromTableArn or Table.fromTableAttributes factory method. This method accepts table name or table ARN which describes the properties ...
Read more >awsdynamodb - Go Packages
fromTableName , Table.fromTableArn or Table.fromTableAttributes factory method. This method accepts table name or table ARN which describes the properties ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Another use case is subscribing a lambda function to an existing(defined elsewhere) table stream.
Is it possible to do this using any lower level APIs?