サーバレス練習帳

着眼大局着手小局

DynamoDBにアクセスできない!

docs.aws.amazon.com

AccessDeniedExceptionなどの説明がある。

@@@

こういう書き方だとjavasciptが読んでくれているっぽい。
www.tutorialfor.com

        AWS.config.update ({
            // accessKeyId: accessKey,
            // secretAccessKey: secretKey,
            region: 'ap-northeast-1',
            credentials: new AWS.Credentials (accessKey, secretKey)
        });