cloudformation-cli-typescript-plugin icon indicating copy to clipboard operation
cloudformation-cli-typescript-plugin copied to clipboard

More documentation with samples in typescript

Open JobaDiniz opened this issue 1 year ago • 2 comments

There's this walkthrough but it's using java as the language, and it's not very easy to understand.

From the documentation perspective, I don't understand how to call dynamodb from the handlers for example. It looks like I need to use the SessionProxy, but it's not documented how to get a hold of dynamodb aws client. In the init example:

// Example:
        try {
            if (session instanceof SessionProxy) {
                const client = session.client('S3');
            }
  1. Where's the documentation of which string should I pass in the .client([string]) to get dynamodb, stepfunction (or others) clients?

  2. Even after I run npm install to install the dependencies, VSCode still does not find @amazon-web-services-cloudformation/cloudformation-cli-typescript-lib

image

  1. Also, do I need to implement all "create, update, list, read..." operations? I was looking for to implement only create, update and delete.

JobaDiniz avatar Mar 06 '23 19:03 JobaDiniz