Get the name of the greengrass core through the API

0

I would like one of my components to get the name of its hosting greengrass core. Is there an API that I can call to accomplish this?

DarrenB
已提問 3 年前檢視次數 221 次
1 個回答
0
已接受的答案

3 posts down:

https://forums.aws.amazon.com/thread.jspa?threadID=336187&tstart=0
How to retreive GreengrassV2 Core Device's AWS IoT Thing name

TLDR: Use the AWS_IOT_THING_NAME environment variable

Edited by: iamalsohere on Mar 1, 2021 1:08 AM

已回答 3 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南