| Recipes by Topic | Recipes by Author | Request Enhancement | Report a bug | Fix documentation |
![]() |
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
| Step | Code | Why? |
|---|---|---|
| Set Headers and Body | Sample Payload |
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 |
- Amazon DynamoDB - API PutItem
- SAP Cloud Platform Integration Connectivity Tests
- Blog - Integrating C4C with AWS DynamoDB via CPI
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
After the successful execution of an integration flow, new/existing item gets added/updated in the given DynamoDB table.
