Permalink
5a4c773 Apr 8, 2017
1 contributor

Users who have contributed to this file

31 lines (25 sloc) 1.2 KB

add-iot-topic-rule

Creates an IOT topic rule and configures the Lambda to run when a message is published on a matching IOT Gateway topic

Usage

claudia add-iot-topic-rule {OPTIONS}

Options

  • --sql: the IOT SQL Statement for the topic filter, see http://docs.aws.amazon.com/iot/latest/developerguide/iot-sql-reference.html
    • For example: SELECT * FROM 'iot/+'
  • --ruleName: (optional) The name of the topic rule
    • For example: temperaturecheck
    • Defaults to: a random autogenerated name
  • --description: (optional) topic rule description
    • For example: Checks temperature limits
    • Defaults to: empty
  • --sqlVersion: (optional) IOT SQL Language version used in the SQL statement, see http://docs.aws.amazon.com/iot/latest/developerguide/iot-rule-sql-version.html
    • For example: beta
    • Defaults to: 2015-10-08
  • --version: (optional) Bind to a particular version
    • For example: production
    • Defaults to: latest version
  • --source: (optional) Directory with project files
    • Defaults to: current directory
  • --config: (optional) Config file containing the resource names
    • Defaults to: claudia.json