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년 전