I hereby claim:
- I am groteworld on github.
- I am groteworld (https://keybase.io/groteworld) on keybase.
- I have a public key whose fingerprint is AD22 BD24 76CD F77F 8143 5817 B7BF 0218 4FE0 316B
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// An usage of AWS.IotData in Lambdas | |
// | |
// This example assumes some things | |
// 1. That you have a environment variable AWS_IOT_ENDPOINT. This is the url that you can find in AWS IoT dashboard settings | |
// 2. The lambda and your aws iot devices are on the same account and region | |
const AWS = require('aws-sdk'); | |
const iotData = new AWS.IotData({ endpoint: process.env.AWS_IOT_ENDPOINT }); | |
const handler = (event, context) => { |