UNPKG

node-red-contrib-aws

Version:

A collection of Node-RED nodes for AWS. Includes nodes for DynamoDB, EC2, IoT, Kinesis, Lambda, SNS, SQS and S3.

16 lines (15 loc) 527 B
module.exports = function(RED) { function RemoteServerNode(n) { RED.nodes.createNode(this,n); this.accessKey = this.credentials.accessKey; this.secretKey = this.credentials.secretKey; this.region = n.region; this.name = n.name; this.proxyRequired = n.proxyRequired; this.proxy = n.proxy; } RED.nodes.registerType("amazon config",RemoteServerNode,{credentials: { accessKey: {type:"text"}, secretKey: {type:"password"} }}); }