AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the PutEventSelectors operation. Configures an event selector for your trail. 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 selectors in 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 create an event selector for a trail and specify that you want write-only events.
RunInstances API operations
occur in your account.
CloudTrail evaluates whether the events match your event selectors.
RunInstances is a write-only event and it matches your event selector.
The trail logs the event.
GetConsoleOutput is a read-only event but it doesn't match your event
selector. The trail doesn't log the event.
PutEventSelectors operation must be called from the region in which
the trail was created; otherwise, an
InvalidHomeRegionException is thrown.
You can configure up to five event selectors for each trail. For more information, see Logging Data and Management Events for Trails in the AWS CloudTrail User Guide.
public class PutEventSelectorsRequest : AmazonCloudTrailRequest IAmazonWebServiceRequest
The PutEventSelectorsRequest type exposes the following members
Gets and sets the property EventSelectors.
Specifies the settings for your event selectors. You can configure up to five event selectors for a trail.
Gets and sets the property TrailName.
Specifies the name of the trail or trail ARN. If you specify a trail name, the string must meet the following requirements:
If you specify a trail ARN, it must be in the format:
Supported in: 1.3
Supported in: 4.5, 4.0, 3.5
Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms