pub struct CloudTrailData {Show 14 fields
pub trails: BTreeMap<String, Value>,
pub trail_logging: BTreeMap<String, bool>,
pub trail_status: BTreeMap<String, Value>,
pub event_selectors: BTreeMap<String, Value>,
pub insight_selectors: BTreeMap<String, Value>,
pub event_data_stores: BTreeMap<String, Value>,
pub channels: BTreeMap<String, Value>,
pub imports: BTreeMap<String, Value>,
pub queries: BTreeMap<String, Value>,
pub dashboards: BTreeMap<String, Value>,
pub resource_policies: BTreeMap<String, String>,
pub delegated_admins: BTreeMap<String, Value>,
pub event_configurations: BTreeMap<String, Value>,
pub tags: BTreeMap<String, BTreeMap<String, String>>,
}Expand description
Per-account CloudTrail state.
Fields§
§trails: BTreeMap<String, Value>Trails keyed by trail Name, holding the trail’s describe object.
trail_logging: BTreeMap<String, bool>Per-trail logging flag keyed by trail Name. CreateTrail leaves this
false until StartLogging (AWS semantics).
trail_status: BTreeMap<String, Value>Per-trail status timestamps keyed by trail Name (start/stop logging
times populated by StartLogging/StopLogging).
event_selectors: BTreeMap<String, Value>Per-trail event selectors keyed by trail Name
({EventSelectors, AdvancedEventSelectors}).
insight_selectors: BTreeMap<String, Value>Per-trail insight selectors keyed by trail Name.
event_data_stores: BTreeMap<String, Value>Event data stores keyed by EventDataStoreArn.
channels: BTreeMap<String, Value>Channels keyed by ChannelArn.
imports: BTreeMap<String, Value>Imports keyed by ImportId.
queries: BTreeMap<String, Value>CloudTrail Lake queries keyed by QueryId.
dashboards: BTreeMap<String, Value>Dashboards keyed by DashboardArn.
resource_policies: BTreeMap<String, String>Resource-based policies keyed by ResourceArn.
delegated_admins: BTreeMap<String, Value>Organization delegated admins keyed by account id.
event_configurations: BTreeMap<String, Value>Event configuration keyed by trail/EDS ARN.
Resource tags keyed by resource id/ARN -> (key -> value).
Trait Implementations§
Source§impl AccountState for CloudTrailData
impl AccountState for CloudTrailData
Source§fn new_for_account(_account_id: &str, _region: &str, _endpoint: &str) -> Self
fn new_for_account(_account_id: &str, _region: &str, _endpoint: &str) -> Self
Source§fn inherit_from(&mut self, _sibling: &Self)
fn inherit_from(&mut self, _sibling: &Self)
MultiAccountState::get_or_create,
with a reference to an existing sibling state. Services can override
this to propagate shared resources (e.g. body caches) to the new state.Source§impl Clone for CloudTrailData
impl Clone for CloudTrailData
Source§fn clone(&self) -> CloudTrailData
fn clone(&self) -> CloudTrailData
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more