Skip to content

Latest commit

 

History

History
60 lines (54 loc) · 1.82 KB

File metadata and controls

60 lines (54 loc) · 1.82 KB

DynamoDB Insert

Insert an object into Amazon DynamoDB

Installation

flogo install github.com/retgits/flogo-components/activity/dynamodbinsert

Link for flogo web:

https://github.com/retgits/flogo-components/activity/dynamodbinsert

Schema

Inputs and Outputs:

"inputs":[
      {
        "name": "awsAccessKeyID",
        "type": "string"
      },
      {
        "name": "awsSecretAccessKey",
        "type": "string"
      },
      {
        "name": "awsRegion",
        "type": "string"
      },
      {
        "name": "DynamoDBTableName",
        "type": "string"
      },
      {
        "name": "DynamoDBRecord",
        "type": "any"
      }
    ],
    "outputs": [
      {
        "name": "result",
        "type": "any"
      }
    ]

Inputs

Input Description
AWSAccessKeyID Your AWS Access Key (only needed if you don't give your Lambda function rights to interact with Amazon DyanmoDB)
AWSSecretAccessKey Your AWS Secret Key (only needed if you don't give your Lambda function rights to interact with Amazon DyanmoDB)
AWSDefaultRegion The AWS region you're running DynamoDB in
DynamoDBTableName The name of your DynamoDB table
DynamoDBRecord A JSON array representation of your record attributes you want to add. They are name/value pairs so adding an Artist with name Leon would be [{"Name":"Artist", "Value":"Leon"}].

Ouputs

Output Description
result A string denoting if the record was successfully added