Get the name of the greengrass core through the API


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?

asked 2 years ago27 views
1 Answer
Accepted Answer

3 posts down:
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 2 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