• Supports inputs for single, double, and long button presses as well as the battery level of the device.
  • Automatically deploys lambda functions necessary for communicating with Appian WebAPIs to create an IoT application built around the AWS Button.

What is the AWS IoT Button?

The AWS IoT Button is provided by Amazon and is a programmable button.  You can code the button’s logic in the cloud to configure button clicks to count or track items, call, alert or task someone, start or stop an Appian process, order services, or even provide feedback.

Learn more about the AWS IoT Button

Key Features & Functionality

The download package includes:

  1. Amazon IoT Button Controller Starter App - A starting point for building out a business application that responds to real-world input from IoT devices.  Automate the entire process of selecting and assigning the new lambda function to the IoT device.
  2. Amazon Deploy Lambda Function Smart Service - Deploys functions to AWS lambda from within an Appian process.  
    • Takes in:
      • Secure credentials
      • AWS region
      • Function parameters
      • Both encrypted and unencrypted environmental variables
    • Also contains:
      • Custom function, getLambdaFunctions(), which returns a JSON string containing all lambda function names and ARNs in the account
      • Smart Service, Add Lambda Permission Function, which allows the process to successfully set permissions on the Lambda function
  3. Amazon IoT Manager Plug-in - Manages and queries the Amazon IoT platform.
    • Contains smart services capable of creating, updating, and deleting Amazon IoT Things and Thing Types.  NEW: Set IoT Thing Action Smart Service allows the user to set the Lambda function executed by the IoT device inside an Appian process.
    • Provides functions that can retrieve all registered Things and Thing Types, and query the IoT endpoint per-region
    • Must have 3rd party credentials for Amazon stored in secure credentials store (accessKey and secretKey)

The starter app requirements are as follows:

  • Deploy the Amazon Deploy Lambda Function Smart Service and Amazon IoT Manager Plug-in
  • An Amazon Dash IoT button
  • An IAM account with access to Amazon Lambda and Amazon Encryption services. You can read more about Amazon's IAM policy here.