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

preguntada hace 5 años171 visualizaciones
2 Respuestas
0

Happy coding!

AWS
KR-AWS
respondido hace 5 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas