Struct aws_sdk_cloudtrail::model::AdvancedEventSelector
source · #[non_exhaustive]pub struct AdvancedEventSelector { /* private fields */ }Expand description
Advanced event selectors let you create fine-grained selectors for the following CloudTrail event record fields. They help you control costs by logging only those events that are important to you. For more information about advanced event selectors, see Logging data events for trails in the CloudTrail User Guide.
-
readOnly -
eventSource -
eventName -
eventCategory -
resources.type -
resources.ARN
You cannot apply both event selectors and advanced event selectors to a trail.
Implementations§
source§impl AdvancedEventSelector
impl AdvancedEventSelector
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
An optional, descriptive name for an advanced event selector, such as "Log data events for only two S3 buckets".
sourcepub fn field_selectors(&self) -> Option<&[AdvancedFieldSelector]>
pub fn field_selectors(&self) -> Option<&[AdvancedFieldSelector]>
Contains all selector statements in an advanced event selector.
source§impl AdvancedEventSelector
impl AdvancedEventSelector
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AdvancedEventSelector.
Trait Implementations§
source§impl Clone for AdvancedEventSelector
impl Clone for AdvancedEventSelector
source§fn clone(&self) -> AdvancedEventSelector
fn clone(&self) -> AdvancedEventSelector
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for AdvancedEventSelector
impl Debug for AdvancedEventSelector
source§impl PartialEq<AdvancedEventSelector> for AdvancedEventSelector
impl PartialEq<AdvancedEventSelector> for AdvancedEventSelector
source§fn eq(&self, other: &AdvancedEventSelector) -> bool
fn eq(&self, other: &AdvancedEventSelector) -> bool
This method tests for
self and other values to be equal, and is used
by ==.