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 年前235 查看次数
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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则