public interface EventsProcessor
AWSCloudTrailProcessingExecutor
to deliver AWS CloudTrail
records for processing.
The process(List)
is invoked after the optional EventFilter
's callback is invoked. If the
event was rejected by the EventFilter
, then it will not be sent to process(List)
.
The number of events in the list is configurable through the maxEventsPerEmit
property.
ProcessingConfiguration
Modifier and Type | Method and Description |
---|---|
void |
process(java.util.List<CloudTrailEvent> events)
A callback method that processes a list of
CloudTrailEvent . |
void process(java.util.List<CloudTrailEvent> events) throws CallbackException
CloudTrailEvent
.
This callback is called by an AWSCloudTrailProcessingExecutor
when it has records to process.
events
- a list of CloudTrailEvent
.CallbackException
- if an error occurs while processing events
.