Class: Aws::CloudTrail::Types::AdvancedEventSelector
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudTrail::Types::AdvancedEventSelector
- Defined in:
- gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb
Overview
Advanced event selectors let you create fine-grained selectors for CloudTrail management, data, and network activity events. They help you control costs by logging only those events that are important to you. For more information about configuring advanced event selectors, see the Logging data events, Logging network activity events, and Logging management events topics 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
The following additional fields are available for event data stores:
eventName
eventType
sessionCredentialFromConsole
userIdentity.arn
Supported CloudTrail event record fields for data events
eventCategory
(required)resources.type
(required)readOnly
eventName
resources.ARN
The following additional fields are available for event data stores:
eventSource
eventType
sessionCredentialFromConsole
userIdentity.arn
Supported CloudTrail event record fields for network activity events
eventCategory
(required)eventSource
(required)eventName
errorCode
- The only valid value forerrorCode
isVpceAccessDenied
.vpcEndpointId
eventCategory
.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#field_selectors ⇒ Array<Types::AdvancedFieldSelector>
Contains all selector statements in an advanced event selector.
-
#name ⇒ String
An optional, descriptive name for an advanced event selector, such as "Log data events for only two S3 buckets".
Instance Attribute Details
#field_selectors ⇒ Array<Types::AdvancedFieldSelector>
Contains all selector statements in an advanced event selector.
180 181 182 183 184 185 |
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 180 class AdvancedEventSelector < Struct.new( :name, :field_selectors) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
An optional, descriptive name for an advanced event selector, such as "Log data events for only two S3 buckets".
180 181 182 183 184 185 |
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 180 class AdvancedEventSelector < Struct.new( :name, :field_selectors) SENSITIVE = [] include Aws::Structure end |