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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠