Create Table In Dynamo DB Using AWS Dynamo DB Connector In Mule
In this tutorial we will demonstrate how can we Create Table In Dynamo DB Using AWS Dynamo DB Connector In Mule
Tables are the fundamental data structures in relational databases and in Amazon DynamoDB. A relational database management system (RDBMS) requires you to define the table’s schema when you create it. In contrast, DynamoDB tables are schema less—other than the primary key, you do not need to define any attributes or data types when you create a table.
for more details for amazon dynamo db table refer below url:
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/SQLtoNoSQL.CreateTable.html
First Add the permission for Amazon Dynamo DB if you don’t have access to dynamo db,using IAM(Identity and Access Management)


Create project in anypoint Studio
Drag and drop create table operation for Amazon Dynamo DB(Add the amazon dynamo db module if not present in Mule Palette) and complete the dynamo db configuration

Provide the below parameters:
Table name: The name for the table.
AttributeDefinitions: This value is an array of attributes that describe the key schema for the table and indexes.
KeySchema: This value specifies the attributes that make up the primary key for a table or an index.
Read Capacity Units: 5 – The maximum number of strongly consistent reads per second.
Write Capacity Units: 5 – The maximum number of writes consumed per second.

Deploy and test the project
Table Successfully created in Dynamo DB

Sample application :Download Sample Project