Class: Aws::CloudTrail::Types::AdvancedEventSelector

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#field_selectorsArray<Types::AdvancedFieldSelector>

Contains all selector statements in an advanced event selector.

Returns:



106
107
108
109
110
111
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 106

class AdvancedEventSelector < Struct.new(
  :name,
  :field_selectors)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

An optional, descriptive name for an advanced event selector, such as "Log data events for only two S3 buckets".

Returns:

  • (String)


106
107
108
109
110
111
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 106

class AdvancedEventSelector < Struct.new(
  :name,
  :field_selectors)
  SENSITIVE = []
  include Aws::Structure
end