OptionalendpointOptionalportPort for endpoint. Defaults to 8182 (Neptune's default Gremlin websocket port).
OptionalurlFull connection URL, e.g. 'wss://my-endpoint:8182/gremlin'. Takes
precedence over endpoint/port/useSsl when set — use this for
non-standard paths/ports or when connecting through a proxy/tunnel.
OptionaluseWhether to use wss:// (true, default) or plain ws:// (local testing only — Neptune itself requires TLS).
OptionaltraversalGremlin traversal source name on the server. Defaults to 'g'.
OptionalrejectVerify the server's TLS certificate. Defaults to true; only disable for local/self-signed test setups.
OptionalheadersStatic pre-signed IAM auth headers, merged with (and overridden by)
authHeaderProvider's result if both are given. Omit entirely when
connecting to a cluster with IAM auth disabled. See the "IAM
authentication" section above.
OptionalauthCalled on every connect() to obtain fresh pre-signed IAM auth headers. See the "IAM authentication" section above.
OptionalconnectionPassed straight through to the underlying DriverRemoteConnection/
Client constructors for anything not covered above (ca, cert,
pfx, mimeType, agent, enableCompression, ...).
Neptune cluster/instance endpoint hostname, e.g.
'my-cluster.cluster-xxxxxxxxxxxx.us-east-1.neptune.amazonaws.com'. Combined withport(default8182) anduseSsl(defaulttrue) into awss://host:port/gremlinURL. Ignored ifurlis set.