### Is there an existing issue for this?

- [X] I have searched the existing issues

### Feature description

AWS has a feature which allows you to [filter incoming lambda invocations using rules](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html). Without this feature I need to filter inside the lambda code itself which will incur more compute and cost in AWS. In the spirit of having as few diffs between localstack and AWS this is highly desireable for my pipeline.

(And fwiw, my pipeline is DynamoDB -> DynamoDB Stream -> Lambda (Python) -> Opensearch)

The current behavior is that create/update-event-source-mapping does parse (and validate) this option, but it isn't honored against incoming events at runtime.

### 🧑‍💻 Implementation

Implement with the same logic as AWS with support for all the operators in the linked article above.

### Anything else?

_No response_
describe_stream_response = firehose_client.describe_delivery_stream(
                DeliveryStreamName=delivery_stream_name
            )
            return (
                describe_stream_response["DeliveryStreamDescription"]["DeliveryStreamStatus"]
                == "ACTIVE"
            )
        poll_condition(is_stream_ready)
    return _wait_for_stream_ready
@pytest.fixture()
def kms_create_key(kms_client):
    key_ids = []
    def _create_key(**kwargs):
        if "Description" not in kwargs:
            kwargs["Description"] = f"test description - {short_uid()}"
        if "KeyUsage" not in kwargs:
            kwargs["KeyUsage"] = "ENCRYPT_DECRYPT"
        key_metadata = kms_client.create_key(**kwargs)["KeyMetadata"]
        key_ids.append(key_metadata["KeyId"])
        return key_metadata
    yield _create_key
    for key_id in key_ids:
        try:
            kms_client.schedule_key_deletion(KeyId=key_id)
        except Exception as e:
            LOG.debug("error cleaning up KMS key %s: %s", key_id, e)
@pytest.fixture()
def kms_create_alias(kms_client, kms_create_key):
    aliases = []
    def _create_alias(**kwargs):