### Is there an existing issue for this?

- [X] I have searched the existing issues

### Enhancement description

AWS Lambda recently added support for Java 17 as managed runtime:
https://aws.amazon.com/about-aws/whats-new/2023/04/aws-lambda-java-17/



### 🧑‍💻 Implementation

_No response_

### Anything else?

_No response_
snapshot.match("invoke-result", result)
    @pytest.mark.skip_snapshot_verify(
        condition=is_old_provider, paths=["$..LogResult", "$..ExecutedVersion"]
    )
    @pytest.mark.aws_validated
    def test_invocation_type_event(self, snapshot, invocation_echo_lambda, aws_client):
        """Check invocation response for type event"""
        result = aws_client.awslambda.invoke(
            FunctionName=invocation_echo_lambda, Payload=b"{}", InvocationType="Event"
        )
        result = read_streams(result)
        snapshot.match("invoke-result", result)
        assert 202 == result["StatusCode"]
    @pytest.mark.skip_snapshot_verify(
        condition=is_old_provider, paths=["$..LogResult", "$..ExecutedVersion"]
    )
    @pytest.mark.skipif(not is_old_provider(), reason="Not yet implemented")
    @pytest.mark.aws_validated
    def test_invocation_type_dry_run(self, snapshot, invocation_echo_lambda, aws_client):
        """Check invocation response for type dryrun"""
        result = aws_client.awslambda.invoke(
            FunctionName=invocation_echo_lambda, Payload=b"{}", InvocationType="DryRun"
        )
        result = read_streams(result)
        snapshot.match("invoke-result", result)
        assert 204 == result["StatusCode"]
    @pytest.mark.skip(reason="Not yet implemented")
    @pytest.mark.aws_validated
    def test_invocation_type_event_error(self, create_lambda_function, snapshot, aws_client):
        snapshot.add_transformer(snapshot.transform.regex(PATTERN_UUID, "<request-id>"))