aws / aws-dax-go

AWS DAX SDK for the Go programming language. https://aws.amazon.com/dynamodb/dax
Apache License 2.0
47 stars 48 forks source link

Optionally specify a custom dialer when creating a client #28

Closed zulakm closed 3 years ago

zulakm commented 3 years ago

Issue #, if available:

13

Description of changes: This change allows consumers to control how they create connections to a DAX cluster, e.g. using a SOCKS proxy dialer to access a cluster when running integration tests outside of the cluster's VPC.

I've included some rudimentary unit tests to verify that the cluster is using the dialer when specified and ran some ad-hoc tests from my laptop to confirm that I can connect to a DAX endpoint via a SOCKS proxy from a program running outside the cluster's VPC.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.