AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Advanced event selectors let you create fine-grained selectors for CloudTrail management and data events. They help you control costs by logging only those events that are important to you. For more information about advanced event selectors, see Logging management events and Logging data events in the CloudTrail User Guide.
You cannot apply both event selectors and advanced event selectors to a trail.
Supported CloudTrail event record fields for management events
eventCategory
(required)
eventSource
readOnly
Supported CloudTrail event record fields for data events
eventCategory
(required)
resources.type
(required)
readOnly
eventName
resources.ARN
For event data stores for CloudTrail Insights events, Config configuration items,
Audit Manager evidence, or events outside of Amazon Web Services, the only supported
field is eventCategory
.
Namespace: Amazon.CloudTrail.Model
Assembly: AWSSDK.CloudTrail.dll
Version: 3.x.y.z
public class AdvancedEventSelector
The AdvancedEventSelector type exposes the following members
Name | Description | |
---|---|---|
AdvancedEventSelector() |
Name | Type | Description | |
---|---|---|---|
FieldSelectors | System.Collections.Generic.List<Amazon.CloudTrail.Model.AdvancedFieldSelector> |
Gets and sets the property FieldSelectors. Contains all selector statements in an advanced event selector. |
|
Name | System.String |
Gets and sets the property Name. An optional, descriptive name for an advanced event selector, such as "Log data events for only two S3 buckets". |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5