Expand description
Account-partitioned, serializable state for the AWS IoT Core control plane.
The registry is deliberately schema-light: every named resource family
(things, policies, certificates, jobs, topic rules, security profiles, …)
is stored in one uniform two-level map, resources[resource_type][id],
where the stored value is the resource’s JSON record (its persisted
attributes plus any minted ARN / id / timestamps). Keeping every key a
plain String means the snapshot never depends on the tuple-key serde
adapter and new resource families need no new struct fields.
Alongside the resource map are:
tags— resource tags keyed by ARN.singletons— account-scoped singleton configurations (indexing config, event configurations, V2 logging options, audit configuration, default authorizer, encryption configuration, package configuration, the CA registration code, …), keyed by a stable string.relations— many-to-many relationship sets keyed by a stable string (e.g.thing-principals:<thing>-> principal ARNs,principal-policies:<principal>-> policy names,group-things:<group>-> thing names). Stored as ordered vectors so list operations are deterministic.
Structs§
- IotData
- Per-account IoT Core control-plane state.
- IotSnapshot