Struct rusoto_cloudtrail::EventSelector[][src]

pub struct EventSelector {
    pub data_resources: Option<Vec<DataResource>>,
    pub include_management_events: Option<bool>,
    pub read_write_type: Option<String>,
}

Use event selectors to specify whether you want your trail to log management and/or data events. When an event occurs in your account, CloudTrail evaluates the event selector for all trails. For each trail, if the event matches any event selector, the trail processes and logs the event. If the event doesn't match any event selector, the trail doesn't log the event.

You can configure up to five event selectors for a trail.

Fields

CloudTrail supports logging only data events for S3 objects. You can specify up to 250 S3 buckets and object prefixes for a trail.

For more information, see Data Events in the AWS CloudTrail User Guide.

Specify if you want your event selector to include management events for your trail.

For more information, see Management Events in the AWS CloudTrail User Guide.

By default, the value is true.

Specify if you want your trail to log read-only events, write-only events, or all. For example, the EC2 GetConsoleOutput is a read-only API operation and RunInstances is a write-only API operation.

By default, the value is All.

Trait Implementations

impl Default for EventSelector
[src]

Returns the "default value" for a type. Read more

impl Debug for EventSelector
[src]

Formats the value using the given formatter. Read more

impl Clone for EventSelector
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for EventSelector
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations