In Amazon CloudWatch Logs, a ___ matches incoming events against a pattern and forwards matching events to a supported…