AWS DynamoDB - Update Data in a Table Last Updated : 23 Jul, 2025 Comments Improve Suggest changes Like Article Like Report Amazon DynamoDB is a NoSQL managed database that supports semi-structured data i.e. key-value and document data. A DynamoDB table stores data in the form of an item. While creating a table in DynamoDB, a partition key needs to be defined which acts as the primary key for the table and no schema. Each item consists of attributes. By default, every item will have a partition key as one of the attributes. Every item can have a different number of attributes. An example of an item is given below: Example: { "Color": true, "Director": "Christopher Nolan", "MovieID": 1, "Name": "Inception", "Rating": 8.7, "Year": 2010 } We will be doing the following operations in this article: Create a table in DynamoDB, say, Movies.Add items or data into the table.Update attribute of an item in the table. The above approach has been implemented below: Create Table and add Data :Create a table named Movies with partition key as MoviesID. Add items to the table. A table has been already created for your reference. See the image below: Update Data: There are two ways to update the attributes of an item. They are : AWS CLI - In this, update-item is used to update the value of an attribute using Amazon Command Line Interface (CLI).Amazon Management Console - To update the value of an attribute in items, navigate to the Items tab of a table and click on the MovieID to update the item. An edit item page will open to either add, update or delete a key-value pair. In the original table, the director column of MovieID=050 is empty. We are going to add 'Christopher Nolan' under the director attribute. See the below images:Edit MovieID 050Updated Table We observe that the director column of MovieID=050 has been updated with the value 'Christopher Nolan'. Similarly, we can select any partition key and edit the value of the attribute of an item. Comment More infoAdvertise with us Next Article AWS DynamoDB - Read Data from a Table R rohanchopra96 Follow Improve Article Tags : DynamoDB Cloud-Computing DynamoDB DynamoDB-Basics Similar Reads AWS DynamoDB - Write Data to a Table In this article, we will write data to a table in DynamoDB. DynamoDB is a NoSQL database that supports semi-structured data i.e. key-value and document data structures. A DynamoDB table contains items. An item is a collection of attributes and each item has a primary key that should be not null. Als 2 min read AWS DynamoDB - Query Data in a Table Amazon DynamoDB is a NoSQL managed database that stores semi-structured data i.e. key-value pair and document data. A table in DynamoDB stores data in form of an item and each item has a primary key. Example: { "Color": true, "Director": "Christopher Nolan", "MovieID": 1, "Name": "Inception", "Ratin 2 min read AWS DynamoDB - Read Data from a Table AWS DynamoDB is a NoSQL managed database that stores semi-structured data i.e. key-value and document data. It stores data in form of an item. An item consists of attributes. Upon table creation in DynamoDB, it only requires a primary key to differentiate between items and no schema is to be defined 3 min read AWS DynamoDB - Creating a Table DynamoDB allows users to create databases capable of storing and retrieving any amount of data and comes in handy while serving any amount of traffic. It dynamically manages each customerâs request and provides high performance by automatically distributing data and traffic over servers. It is a ful 2 min read How to Delete an Item in a DynamoDB Table? Amazon DynamoDB a fully managed NoSQL database service by Amazon Web Services (AWS), provides simple scalability and high performance for applications of any scale. Managing data in DynamoDB is important sometimes we need to delete specific items from a table to maintain data integrity or changes in 3 min read Delete Table In DynamoDB DynamoDB allows users to create databases capable of storing and retrieving any amount of data and comes in handy while serving any amount of traffic. It dynamically manages each customerâs request and provides high performance by automatically distributing data and traffic over servers. It is a ful 4 min read Like