2.0.5 • Published 6 years ago
serverless-iot-aws v2.0.5
serverless-iot-local
AWS Iot lifecycle and regular topic subscription events
Prerequisites
- serverless@1.x
Install
npm install --save serverless-iot-local
In
serverless.yml
addserverless-iot-local
to plugins:
plugins:
- serverless-iot-local
Usage
If you're using serverless-offline, you can run:
sls offline start
Otherwise run:
sls iot start
CLI options are optional:
The above options must be added to serverless.yml to set default configuration, e.g.:
custom:
serverless-iot-aws:
accessKeyId: ""
secretKey: ""
region : ""
roleName : ""
host: ""
Using with serverless-offline plugin
Place serverless-iot-aws
above serverless-offline
plugins:
- serverless-iot-aws
- serverless-offline
Todo
- Improve support of AWS Iot SQL syntax