NAME

Paws::CloudTrail::AdvancedEventSelector

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::CloudTrail::AdvancedEventSelector object:

$service_obj->Method(Att1 => { FieldSelectors => $value, ..., Name => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::CloudTrail::AdvancedEventSelector object:

$result = $service_obj->Method(...);
$result->Att1->FieldSelectors

DESCRIPTION

Advanced event selectors let you create fine-grained selectors for the following AWS CloudTrail event record elds. 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 (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html) 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.

ATTRIBUTES

REQUIRED FieldSelectors => ArrayRef[Paws::CloudTrail::AdvancedFieldSelector]

Contains all selector statements in an advanced event selector.

Name => Str

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

SEE ALSO

This class forms part of Paws, describing an object used in Paws::CloudTrail

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues