aws-samples / aws-cdk-examples

Example projects using the AWS CDK
Apache License 2.0
4.95k stars 2.1k forks source link

fix(typescript/appsync-graphql-dynamodb): remove unused aws-sdk #1043

Closed trivikr closed 1 month ago

trivikr commented 1 month ago

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#L1

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.

trivikr commented 1 month ago

cc @kaiz-io