Skip to content

Latest commit

 

History

History
 
 

readme.md

Connect to Amazon DynamoDB

| Recipes by Topic | Recipes by Author | Request Enhancement | Report a bug | Fix documentation |

Sunny Kapoor Sunny Kapoor

Amazon DynamoDB is a fully managed non-relational database service that provides fast and predictable performance with seamless scalability. It is a schema-less database that only requires a table name and primary key.

To achieve the integration with Amazon DynamoDB, SAP CPI needs to make a rest call to DynamoDB endpoint.

Download the Sample Integration Flow

Recipe

Step Code Why?
Set Headers and Body Sample Payload iflowsamplepayloadimage These settings are specific to Amazon DynamoDB - API PutItem
Set HTTP Authorization header with AWS4-HMAC-SHA256 signature Call Generate AWS4-HMAC-SHA256 Authorization Header using Process Direct Adapter
Make a Rest POST Call to DynamoDB endpoint It may possible the you get the SSL handshake exception. To prevent this, do the TLS Connectivity Test to DynamoDB endpoint and upload the root certificate in CPI using Keystore manager as described in SAP Cloud Platform Integration Connectivity Tests

Related Recipes

References

Sample Integration Flow

iflowimage

We have a scheduler set at "Run Once". With each deployment it create/update a new/existing item in an Amazon DynamoDB table

Download the Sample Integration Flow

Sample Output

iflowresultimage

After the successful execution of an integration flow, new/existing item gets added/updated in the given DynamoDB table.