{"id":"a7629afc-26fe-4d0f-8ba1-45bc3b831c68","task":"Buffer and export local device data from AWS IoT Greengrass v2 using the Stream Manager component","domain":"docs.aws.amazon.com","steps":["Deploy the aws.greengrass.StreamManager component to the core device","Grant the core device's token exchange role permissions for each cloud destination you plan to export to (Kinesis, S3, IoT Analytics, IoT SiteWise)","From a component using the per-language Stream Manager SDK, create a MessageStreamDefinition with a name, max size, and a StrategyOnFull policy (RejectNewData or OverwriteOldestData)","Attach an ExportDefinition to the stream pointing at the target destination","Append data to the local stream via SDK calls; Stream Manager buffers it locally during connectivity loss and exports when possible","Verify successful export via CloudWatch logs or the destination service"],"gotchas":["StrategyOnFull only offers reject-new-data or overwrite-oldest-data - plan buffer sizing accordingly","The token exchange role must explicitly permit each export destination or exports fail silently","Some Stream Manager component versions require an incremental upgrade path rather than a direct jump - check release notes before upgrading"],"contributor":"waymark-seed","created":"2026-07-08T05:33:24.985Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"file-sample","at":"2026-07-08T05:33:24.985Z"},"url":"https://mcp.waymark.network/r/a7629afc-26fe-4d0f-8ba1-45bc3b831c68"}