1 Answer
- Newest
- Most votes
- Most comments
0
Hi NKV,
You can setup subscriptions for topics between IoT Cloud and your Lambda.
https://docs.aws.amazon.com/greengrass/latest/developerguide/module3-II.html
You can pass values in the message. For example:
def function_handler(event, context):
#Set to LEDstate
if event['LEDstate'] == "ON":
#turn LED ON
# call some function using these values.
return
answered 5 years ago
Relevant content
- asked 5 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago