https://pulumi.com logo
#general
Title
# general
e

enough-judge-17725

04/05/2019, 3:08 PM
With a pulumi cloud.Table, there is a convenient high level api to interact with the table (scan, query, etc..). Do we have the same thing for a aws.dynamodb.Table ?
w

white-balloon-205

04/05/2019, 3:10 PM
No - but using
new aws.sdk.DynamoDB.DocumentClient()
gives access to the full dynamo API, which is only a little bit lower level, and much more flexible. See for example: https://github.com/pulumi/examples/blob/b853d2d423176ca026cf7d0bca1c90f14b2f36c4/aws-ts-apigateway/index.ts
e

enough-judge-17725

04/05/2019, 3:14 PM
Thanks! I tried searching for an example like this but couldn't find. Would be great if there was a separate example for interacting with dynamodb like this.
👍🏽 1