This is not possible. DynamoDB is a proprietary service that only runs on AWS; either connect there or use something like: https://docs.localstack.cloud/user-guide/aws/dynamodb/