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
gefragt vor 3 Jahren257 Aufrufe
1 Antwort
0
Akzeptierte Antwort

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

beantwortet vor 3 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen