amazon-dynamodb-connector
Service icon

Amazon DynamoDB Connector

Stable version 2.4.0 (Compatible with OutSystems 11)
Other versions available for 10
Uploaded
 on 30 September 2021
 by 
5.0
 (5 ratings)
amazon-dynamodb-connector

Amazon DynamoDB Connector

Documentation
2.4.0
  1. Create an AWS account here 

  2. Take a look at the Get Started Guide

  3. Generate access keys
    To use the DynamoDB you'll need to provide an Access Key Id and Secret Access Key. Follow the steps here to generate those credentials.
    Choose permission policies only for DynamoDB and to the table you've just created.
    Go to Service Center, open the AmazonDynamoDB module detail and assign the values for each key to the related Site Properties

  4. Handle the Dictionary<string, AttributeValue> object type
    Amazon Dynamo DB .NET SDK relies heavily on the Dictionary<string, AttributeValue> data type. In order to help in conversion with OutSystems structures you can find public structures in the connector to help you with that task.
    Here's how to use OutSystems structures to your favor:
    1. Create a new variable with the same name as the parameter expected by DynamoDB
    2. Data type should be one of the public structures in the AmazonDynamoDB module
    3. Change the "Name in JSON" property to the name of the item's attribute
    4. Assign the actual value of the attribute to the N | S | B field.
    5. Serialize to JSON and pass the output of the JSONSerialize action as the value of the input parameter of the DynamoDB method you are using
    6. In this case we are converting this: { ":inc", new AttributeValue { N = "1" } } into an OutSystems structure: