Expand description
AWS Config (config) implementation for FakeCloud.
Real data plane: a running configuration recorder snapshots the live state
of other FakeCloud services (S3, EC2, IAM) into genuine ConfigurationItem
history, config rules run real evaluation logic (AWS managed rules against
the recorded items, custom rules by invoking the referenced Lambda), and the
SelectResourceConfig query language runs over the recorded items.
Re-exports§
pub use validate::CrossServiceStates;
Modules§
- provision
- Helpers shared with the CloudFormation resource provisioner so that
AWS::Config::*resources land in real Config state (and therefore survive a restart) rather than becoming phantom CREATE_COMPLETE resources. - validate
- AWS Config data-plane logic: cross-service configuration recording, managed
rule evaluation, and the
SelectResourceConfigquery subset.
Structs§
- Config
Accounts - Config
Service - Config
Snapshot - On-disk snapshot envelope. Versioned so format changes fail loudly on upgrade rather than silently mis-parsing.
- Configuration
Item
Constants§
Functions§
- save_
config_ snapshot - Persist the current Config state as a snapshot. Offloads serde + the
blocking file write to the Tokio blocking pool. Noop when
storeisNone(memory mode). Shared by the service’s mutating-action hook and the CloudFormation provisioner persist hook so both route through the same serialize-and-write path.