Skip to Content
Learning AWS IoT
book

Learning AWS IoT

by Agus Kurniawan
January 2018
Intermediate to advanced
278 pages
5h 13m
English
Packt Publishing
Content preview from Learning AWS IoT

Accessing local resources

AWS Greengrass can access local resources. This is possible if we use AWS Greengrass version 1.3.0 or later versions. You can configure an AWS Lambda to access specific resources. The following is a list of local resources that you can apply:

  • Folders and files
  • Serial ports
  • USB
  • GPIOs
  • GPUs
  • Cameras

To show you how to work with local resources in the AWS Greengrass Core machine, we will access local GPIO resources. We need an LED that is attached to Raspberry Pi on GPIO 18 (pin 12). You can see this wiring in the following image:

Our aim is to develop a blinking Lambda. This demo will make a blinking LED while the Lambda ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn AWS Serverless Computing

Learn AWS Serverless Computing

Scott Patterson

Publisher Resources

ISBN: 9781788396110Supplemental Content