node-red-contrib-aws-sdk-anything 0.0.2

node-red aws sdk anything

npm install node-red-contrib-aws-sdk-anything

Feature

  • Various services of aws sdk can be used.

Install

npm install --save node-red-contrib-aws-sdk-anything

Usage

Node Settings

  • Node Settings
    • AWS = IAM AccessKey
    • Service = DyanamoDB, ...
    • Method = putItem, ...
    • Name =
  • msg Object
    • payload = Params

Screenshot

Node

Example Flow

Flow

[
    {
        "id": "ed786802.6c74b8",
        "type": "inject",
        "z": "3b5b5291.aa56ae",
        "name": "",
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "repeat": "",
        "crontab": "",
        "once": false,
        "x": 140,
        "y": 80,
        "wires": [
            [
                "7acc1c22.943544"
            ]
        ]
    },
    {
        "id": "c936f3c0.21ea2",
        "type": "debug",
        "z": "3b5b5291.aa56ae",
        "name": "",
        "active": true,
        "console": "false",
        "complete": "false",
        "x": 770,
        "y": 80,
        "wires": []
    },
    {
        "id": "7acc1c22.943544",
        "type": "function",
        "z": "3b5b5291.aa56ae",
        "name": "Make params",
        "func": "var dd = new Date();\nmsg.payload = {\n    TableName: \"test\",\n    Item: {\n        id: {\n            S: \"datetime\" + dd\n        },\n        timestamp: {\n            N: \"100\"\n        },\n        json: {\n            S: '{\"hoge\":\"value\"}'\n        }\n    }\n};\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "x": 320,
        "y": 80,
        "wires": [
            [
                "c57cce37.208fd"
            ]
        ]
    },
    {
        "id": "c57cce37.208fd",
        "type": "aws-sdk-anything",
        "z": "3b5b5291.aa56ae",
        "aws": "c5f05f2f.06aa",
        "region": "",
        "servicename": "DynamoDB",
        "methodname": "putItem",
        "name": "",
        "x": 550,
        "y": 80,
        "wires": [
            [
                "c936f3c0.21ea2"
            ]
        ]
    },
    {
        "id": "c5f05f2f.06aa",
        "type": "aws-sdk-anything-config",
        "z": "",
        "name": "gbee",
        "region": "ap-northeast-1"
    }
]

Environment

Node-RED

Confirmed List

  1. DynamoDB
    1. putItem

Logs

Date Comments Version
2017-09-02 first commit v0.0.1

Node Info

Version: 0.0.2
Updated 2 months, 1 week ago
License: Apache-2.0

Downloads

1 in the last day
4 in the last week
60 in the last month

Nodes

  • aws-sdk-anything
  • aws-sdk-anything-config

Keywords

  • node-red
  • aws-sdk

Maintainers

  • high-u