Struct aws_sdk_cloudtrail::model::AdvancedEventSelector
source · [−]#[non_exhaustive]pub struct AdvancedEventSelector {
pub name: Option<String>,
pub field_selectors: Option<Vec<AdvancedFieldSelector>>,
}
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.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
An optional, descriptive name for an advanced event selector, such as "Log data events for only two S3 buckets".
field_selectors: Option<Vec<AdvancedFieldSelector>>
Contains all selector statements in an advanced event selector.
Implementations
An optional, descriptive name for an advanced event selector, such as "Log data events for only two S3 buckets".
Contains all selector statements in an advanced event selector.
Creates a new builder-style object to manufacture AdvancedEventSelector
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AdvancedEventSelector
impl Send for AdvancedEventSelector
impl Sync for AdvancedEventSelector
impl Unpin for AdvancedEventSelector
impl UnwindSafe for AdvancedEventSelector
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more