### Is there an existing issue for this?

- [X] I have searched the existing issues

### Feature description

Basically we want to only run the lambda when an insert is occurring in DynamoDB.
I tested using Dynobase deleting a record and the lambda still triggered.

```
resource "aws_lambda_event_source_mapping" "event-log" {
	event_source_arn  = aws_dynamodb_table.event-log.stream_arn
	function_name     = module.main.lambda-arn
	starting_position = "LATEST"
	enabled = true # change to false when truncating the table in localstack
	maximum_retry_attempts = 1 # limit retry on failure to 1 for now

	# https://dev.to/aws-builders/filtering-dynamodb-streams-before-lambda-p5p
	filter_criteria { # Doesn't seem to work on LocalStack for now
		filter {
			pattern = jsonencode({
				body = {
					eventName : ["INSERT"]
				}
			})
		}
	}
}
```


### 🧑‍💻 Implementation

_No response_

### Anything else?

 https://dev.to/aws-builders/filtering-dynamodb-streams-before-lambda-p5p
get_lambda_runtime,
    get_zip_bytes,
    multi_value_dict_for_list,
)
from localstack.services.generic_proxy import RegionBackend
from localstack.services.install import INSTALL_DIR_STEPFUNCTIONS, install_go_lambda_runtime
from localstack.utils.archives import get_unzipped_size, is_zip_file, unzip
from localstack.utils.aws import aws_stack
from localstack.utils.aws.aws_models import CodeSigningConfig, LambdaFunction
from localstack.utils.aws.aws_responses import ResourceNotFoundException
from localstack.utils.container_networking import get_main_container_name
from localstack.utils.docker_utils import DOCKER_CLIENT
from localstack.utils.files import TMP_FILES, ensure_readable, load_file, mkdir, save_file
from localstack.utils.functions import empty_context_manager, run_safe
from localstack.utils.http import (
    canonicalize_headers,
    parse_chunked_data,
    parse_request_data,
    safe_requests,
)
from localstack.utils.json import json_safe
from localstack.utils.patch import patch
from localstack.utils.run import run, run_for_max_seconds
from localstack.utils.strings import first_char_to_lower, long_uid, md5, short_uid, to_bytes, to_str
from localstack.utils.sync import synchronized
from localstack.utils.time import (
    TIMESTAMP_FORMAT_MICROS,
    TIMESTAMP_READABLE_FORMAT,
    isoformat_milliseconds,
    mktime,