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
posta 2 anni fa336 visualizzazioni
1 Risposta
1
Risposta accettata

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
ESPERTO
Greg_B
con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande