Closed trivikr closed 1 month ago
The aws-sdk import (AWS SDK for JavaScript v2) is not used in the example.
aws-sdk
It use @aws-sdk/client-dynamodb (AWS SDK for JavaScript v3) instead. https://github.com/aws-samples/aws-cdk-examples/blob/aa729c830d65649fed3ec32a3599ede77b9bd330/typescript/appsync-graphql-dynamodb/utils/index.js#L1
@aws-sdk/client-dynamodb
It was added in https://github.com/aws-samples/aws-cdk-examples/pull/1012
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
cc @kaiz-io
The
aws-sdk
import (AWS SDK for JavaScript v2) is not used in the example.It use
@aws-sdk/client-dynamodb
(AWS SDK for JavaScript v3) instead. https://github.com/aws-samples/aws-cdk-examples/blob/aa729c830d65649fed3ec32a3599ede77b9bd330/typescript/appsync-graphql-dynamodb/utils/index.js#L1It was added in https://github.com/aws-samples/aws-cdk-examples/pull/1012
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.