libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudTrail.Types.AdvancedEventSelector

Description

 
Synopsis

Documentation

data AdvancedEventSelector Source #

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.

See: newAdvancedEventSelector smart constructor.

Constructors

AdvancedEventSelector' 

Fields

Instances

Instances details
Eq AdvancedEventSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.AdvancedEventSelector

Read AdvancedEventSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.AdvancedEventSelector

Show AdvancedEventSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.AdvancedEventSelector

Generic AdvancedEventSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.AdvancedEventSelector

Associated Types

type Rep AdvancedEventSelector :: Type -> Type #

NFData AdvancedEventSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.AdvancedEventSelector

Methods

rnf :: AdvancedEventSelector -> () #

Hashable AdvancedEventSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.AdvancedEventSelector

ToJSON AdvancedEventSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.AdvancedEventSelector

FromJSON AdvancedEventSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.AdvancedEventSelector

type Rep AdvancedEventSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.AdvancedEventSelector

type Rep AdvancedEventSelector = D1 ('MetaData "AdvancedEventSelector" "Amazonka.CloudTrail.Types.AdvancedEventSelector" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "AdvancedEventSelector'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "fieldSelectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty AdvancedFieldSelector))))

newAdvancedEventSelector Source #

Create a value of AdvancedEventSelector with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:name:AdvancedEventSelector', advancedEventSelector_name - An optional, descriptive name for an advanced event selector, such as "Log data events for only two S3 buckets".

$sel:fieldSelectors:AdvancedEventSelector', advancedEventSelector_fieldSelectors - Contains all selector statements in an advanced event selector.

advancedEventSelector_name :: Lens' AdvancedEventSelector (Maybe Text) Source #

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

advancedEventSelector_fieldSelectors :: Lens' AdvancedEventSelector (NonEmpty AdvancedFieldSelector) Source #

Contains all selector statements in an advanced event selector.