Skip to main content

Crate fakecloud_config

Crate fakecloud_config 

Source
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 SelectResourceConfig query subset.

Structs§

ConfigAccounts
ConfigService
ConfigSnapshot
On-disk snapshot envelope. Versioned so format changes fail loudly on upgrade rather than silently mis-parsing.
ConfigurationItem

Constants§

CONFIG_SNAPSHOT_SCHEMA_VERSION

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 store is None (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.

Type Aliases§

SharedConfigState