### 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_
elif use_localhost:
            assert constants.LOCALHOST in url
            assert constants.LOCALHOST_HOSTNAME not in url
            assert hostname_external not in url
            assert localstack_hostname not in url
        elif custom_host is not None:
            assert custom_host in url
            assert constants.LOCALHOST_HOSTNAME not in url
            assert hostname_external not in url
            assert localstack_hostname not in url
        else:
            raise ValueError("no assertions made")
    yield asserter
@pytest.fixture
def echo_http_server(httpserver: HTTPServer):
    """Spins up a local HTTP echo server and returns the endpoint URL"""
    def _echo(request: Request) -> Response:
        result = {
            "data": request.data or "{}",
            "headers": dict(request.headers),
            "url": request.url,
            "method": request.method,
        }
        response_body = json.dumps(json_safe(result))
        return Response(response_body, status=200)
    httpserver.expect_request("").respond_with_handler(_echo)
    http_endpoint = httpserver.url_for("/")
    return http_endpoint
@pytest.fixture
def echo_http_server_post(echo_http_server):