AWS IOT GreenGrass Device Shadow versioning

0

Hi AWS community:

I'm using AWS GreenGrass device shadow service to store some data, I'm interested in version history of device shadow so I could inspect data change over time, does device shadow service support such thing out of box?

An alternative I'm exploring is finding out if device shadow supports any triggers so I can call lambda to record current device shadow document. (however I haven't found any documentations about this).

Any advices are appreciated.

Thank you

Xicheng
asked 2 years ago324 views
1 Answer
1
Accepted Answer

At this time, there's no shadow history built into the service. You would need to create the history yourself by using AWS IoT Core Rules to process shadow document changes as they are published on Device Shadow MQTT topics.

There is a Lambda rule action but it may be more cost effective to instead use the one of the other Rule actions to simply store each version of the shadow document. For instance, a DynamoDB rule action.

profile pictureAWS
EXPERT
Greg_B
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions