How to automate configuration of core connnectioninfo (endpoints)?

0

I am testing the greengrass docker image in ecs and I am trying to automate group deployment. I am using "CreateDeployment" API via Javascript SDK. The deployment is successful but the core endpoints are not configured. When we deploy for the first time via console, we can select "manual" or "automatic" core endpoint config. How to do the same thing via javascript SDK? I want to automate deployment and then when a device calls the discovery API, it should get the core endpoint info. Please let me know what alternatives I have.

UPDATE: I could see that when I add endpoints manually via aws console an API call is going from browser to "https://ap-northeast-1.console.aws.amazon.com/iot/api/greengrass/cores/groupname/connectivity/endpoints". If there is no SDK option to configure endpoints, can I call this API ? What are the authentication requirements to call this API?

Edited by: KiranGopal on Aug 8, 2019 1:59 AM

Edited by: KiranGopal on Aug 8, 2019 2:00 AM

asked 5 years ago166 views
2 Answers
0

Happy coding!

AWS
KR-AWS
answered 5 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