fakecloud_config/lib.rs
1//! AWS Config (`config`) implementation for FakeCloud.
2//!
3//! Real data plane: a running configuration recorder snapshots the live state
4//! of other FakeCloud services (S3, EC2, IAM) into genuine `ConfigurationItem`
5//! history, config rules run real evaluation logic (AWS managed rules against
6//! the recorded items, custom rules by invoking the referenced Lambda), and the
7//! `SelectResourceConfig` query language runs over the recorded items.
8
9pub(crate) mod model_validate;
10pub(crate) mod persistence;
11pub mod provision;
12pub(crate) mod service;
13pub(crate) mod state;
14pub mod validate;
15
16#[cfg(test)]
17mod e2e_tests;
18
19pub use persistence::save_config_snapshot;
20pub use service::ConfigService;
21pub use state::{
22 ConfigAccounts, ConfigSnapshot, ConfigurationItem, SharedConfigState,
23 CONFIG_SNAPSHOT_SCHEMA_VERSION,
24};
25pub use validate::CrossServiceStates;