The cloud provider where the database will be hosted.
Supported values include 'AWS', 'GCP', and 'AZURE'.
Note: available regions vary across providers.
Optional keyspaceThe default keyspace to create within the database, e.g. my_keyspace.
If omitted, Astra will automatically provide a keyspace named default_keyspace.
A user-defined name for the database, e.g. my_database.
The specific cloud region in which the database will be deployed, e.g. us-east1.
Note: the region must be valid for the selected cloudProvider.
Overview
Represents the core definition options for creating a new vector-enabled DataStax Astra database.
This includes required settings such as the database name, cloud provider, and region, as well as an optionally specified keyspace.
Note that:
keyspaceis provided, Astra will automatically provide a keyspace nameddefault_keyspace.Disclaimer: database creation is a lengthy operation, and may take upwards of 2-3 minutes
Example
These options are used in the first parameter of the
createDatabasemethod.Example
See