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
質問済み 2年前336ビュー
1回答
1
承認された回答

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
エキスパート
Greg_B
回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ