1 個回答
- 最新
- 最多得票
- 最多評論
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
已回答 5 年前
相關內容
- AWS 官方已更新 3 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 10 個月前
- AWS 官方已更新 1 年前