Creating a Azure Cosmos DB source node
Prerequisites needed
A Amazon Glue Azure Cosmos DB connection, configured with an Amazon Secrets Manager secret, as described in the previous section, Creating a Azure Cosmos DB connection.
Appropriate permissions on your job to read the secret used by the connection.
A Azure Cosmos DB for NoSQL container you would like to read from. You will need identification information for the container.
An Azure Cosmos for NoSQL container is identified by its database and container. You must provide the database,
cosmosDBName
, and container,cosmosContainerName
, names when connecting to the Azure Cosmos for NoSQL API.
Adding a Azure Cosmos DB data source
To add a Data source – Azure Cosmos DB node:
-
Choose the connection for your Azure Cosmos DB data source. Since you have created it, it should be available in the dropdown. If you need to create a connection, choose Create Azure Cosmos DB connection. For more information see the previous section, Creating a Azure Cosmos DB connection.
Once you have chosen a connection, you can view the connection properties by clicking View properties.
-
Choose Cosmos DB Database Name – provide the name of the database you want to read from,
cosmosDBName
. -
Choose Azure Cosmos DB Container – provide the name of the container you want to read from,
cosmosContainerName
. -
Optionally, choose Azure Cosmos DB Custom Query – provide a SQL SELECT query to retrieve specific information from Azure Cosmos DB.
-
In Custom Azure Cosmos properties, enter parameters and values as needed.