OptionalcontactKeyspaces service endpoint(s), e.g.
['cassandra.us-east-1.amazonaws.com:9142'] (note the TLS port 9142).
OptionallocalLocal data center — typically the AWS region, e.g. 'us-east-1'.
OptionalkeyspaceDefault keyspace to bind the session to.
OptionalcredentialsService-specific username/password credentials (or use a SigV4 authProvider via clientOptions).
OptionalclientEscape hatch for any other cassandra-driver Client option. For
Keyspaces this is where TLS (sslOptions) and the SigV4 authProvider
live. Merged into the options passed to the Client constructor.
OptionalclientA pre-built driver Client (or a compatible mock). When provided,
connect() uses it directly and skips require('cassandra-driver')
entirely — this is how tests inject a mock without the real driver
installed.
Connection options for
KeyspacesStore. These map onto thecassandra-driverClientconstructor options. For a real Keyspaces endpoint, TLSsslOptionsand a SigV4/credentialsauthProviderare supplied throughclientOptions.