This message was deleted.
s
This message was deleted.
b
I believe you can use the sdk inline as follows if you
import * as aws _from_ '@pulumi/aws';
. Using DynamoDB as an example.
Copy code
callback: async (event, context, callback) => {
      const client = new aws.sdk.DynamoDB.DocumentClient();
      const { Items } = await client
        .scan({
          TableName: table.name.get(),
        })
        .promise();
      callback(null, {Items});
    },
e
Thanks! that is what I figured out eventually. And I had to use v2 of the api to get it working.