AWS DynamoDB
Last updated
Was this helpful?
Last updated
Was this helpful?
Amazon DynamoDB is a fully managed, serverless, key-value NoSQL database. UI Bakery allows you to easily connect to DynamoDB with no need for additional layers like APIs or third-party services.
To connect your DynamoDB to UI Bakery, start with creating a uibakery_dynamodb
user in :
Enable programmatic access.
You can grant full DynamoDB permissions or add the restrictions if required.
Create a new policy and attach it to the new user.
Once you've created the user with all the necessary permissions, you can proceed to connecting your AWS DynamoDB data source to UI Bakery.
On the Data sources page, click Connect, and select AWS DynamoDB in the Data sources list.
Specify all the required credentials.
Click Test connection to check whether the data source can be connected, and then click Connect Datasource to complete the setup.
Once you've connected your data source, you can start writing queries to DynamoDB. For this purpose, you need to select the DynamoDB Request action type, select one of the predefined DynamoDB commands, and start constructing your queries in JS mode.
query
is used to search for or filter the items in your DynamoDB collection. Select query
from the list and specify its parameters:
scan
is used to retrieve all of the items or just some of them from your DynamoDB collection. Select scan
from the list and specify the query parameters:
The getItem
operation returns a set of Attributes
for an item that matches the primary key. Select getItem
from the list and specify the query parameters:
To add a new item to your collection, use putItem
. Select putItem
from the list and specify the query parameters:
updateItem
edits an existing item's attributes or adds a new item to the table if it doesn't exist yet. You can put, delete, or add attribute values. Select updateItem
from the list and specify the query parameters:
To delete an item from the collection, use deleteItem
. Select deleteItem
from the list and specify the query parameters:
To put or delete multiple items in one or more collections, use batchWriteItem
. Select batchWriteItem
from the list and specify the query parameters:
For more details about DynamoDB queries, please refer to .