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
asked 3 years ago221 views
1 Answer
0
Accepted Answer

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

answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions