Skip to main content

Crate fakecloud_cloudtrail

Crate fakecloud_cloudtrail 

Source
Expand description

AWS CloudTrail (cloudtrail) awsJson1.1 control plane for fakecloud.

The full 60-operation CloudTrail Smithy model: trails (with logging start/stop and per-trail status), event selectors and insight selectors, CloudTrail Lake event data stores (+ ingestion toggle, restore, federation), channels, imports, queries, dashboards, resource policies, organization delegated admins, event configuration, and resource tagging.

CloudTrail is modelled as a state CRUD control plane: there is no real event-recording engine (a fake needn’t record its own API activity, and no conformance/tfacc assertion depends on recorded events). Every resource is real, account-partitioned, persisted state. Every Create is reflected by its Get/Describe/List, every Update persists, every Delete deletes. StartLogging/StopLogging toggle a per-trail logging flag that GetTrailStatus reports. LookupEvents, ListPublicKeys, and ListInsightsMetricData return real, empty result sets. CloudTrail Lake queries settle to FINISHED synchronously with empty result rows.

Re-exports§

pub use service::CloudTrailService;
pub use state::CloudTrailData;
pub use state::SharedCloudTrailState;
pub use state::CLOUDTRAIL_SNAPSHOT_SCHEMA_VERSION;

Modules§

persistence
Snapshot save/load for CloudTrail state.
service
AWS CloudTrail (cloudtrail) awsJson1.1 dispatch + operation handlers.
state
Account-partitioned, serializable state for AWS CloudTrail’s (cloudtrail) control plane.