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

已提问 5 年前171 查看次数
2 回答
0

Happy coding!

AWS
KR-AWS
已回答 5 年前

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

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

回答问题的准则