2 Answers
- Newest
- Most votes
- Most comments
0
Hi majh. I'm not clear what event you want to capture, but individual components can use this API to be notified about changes coming in a deployment: https://docs.aws.amazon.com/greengrass/v2/developerguide/ipc-component-lifecycle.html#ipc-operation-subscribetocomponentupdates
0
Hi,
Here is the documentation explaining how you can configure notifications using AWS event bridge and Amazon SNS: https://docs.aws.amazon.com/greengrass/v2/developerguide/deployment-health-notifications.html
answered 12 days ago
Thanks for your response - but isn't this calling a backend API ? Isn't there any device side mechanism to get such notifications ?
Relevant content
- AWS OFFICIALUpdated 13 days ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
Hi Greg - basically what I want to do is:
These are all the available event streams: https://docs.aws.amazon.com/greengrass/v2/developerguide/interprocess-communication.html#ipc-subscribe-operations. The events from
SubscribeToComponentUpdates
gives you the deployment ID. You could use HARD dependencies to make one of your components always be the last to be processed in a deployment. So it could be a proxy for the whole deployment.