Insert an object into Amazon DynamoDB
flogo install github.com/retgits/flogo-components/activity/dynamodbinsert
Link for flogo web:
https://github.com/retgits/flogo-components/activity/dynamodbinsert
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"
}
]
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"}] . |
Output | Description |
---|---|
result | A string denoting if the record was successfully added |