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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南