public class SampleEventFilter extends java.lang.Object implements EventFilter
| Constructor and Description |
|---|
SampleEventFilter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
filterEvent(CloudTrailEvent event)
Event filter that only keep EC2 deletion API calls.
|
public boolean filterEvent(CloudTrailEvent event) throws CallbackException
filterEvent in interface EventFilterevent - The CloudTrailEvent to filter.true If the event should be processed by the EventsProcessor.CallbackException - If an error occurs while filtering.