AdvancedEventSelector class

Advanced event selectors let you create fine-grained selectors for the following AWS 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 AWS CloudTrail User Guide.

  • readOnly
  • eventSource
  • eventName
  • eventCategory
  • resources.type
  • resources.ARN
You cannot apply both event selectors and advanced event selectors to a trail.

Constructors

AdvancedEventSelector({required List<AdvancedFieldSelector> fieldSelectors, String? name})
AdvancedEventSelector.fromJson(Map<String, dynamic> json)
factory

Properties

fieldSelectors List<AdvancedFieldSelector>
Contains all selector statements in an advanced event selector.
final
hashCode int
The hash code for this object.
no setterinherited
name String?
An optional, descriptive name for an advanced event selector, such as "Log data events for only two S3 buckets".
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited