### 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_
)
    @pytest.mark.skip_snapshot_verify(condition=is_old_provider, paths=["$..LogResult"])
    @pytest.mark.aws_validated
    def test_runtime_ulimits(self, create_lambda_function, snapshot, monkeypatch, aws_client):
        """We consider ulimits parity as opt-in because development environments could hit these limits unlike in
        optimized production deployments."""
        monkeypatch.setattr(
            config,
            "LAMBDA_DOCKER_FLAGS",
            "--ulimit nofile=1024:1024 --ulimit nproc=735:735 --ulimit core=-1:-1 --ulimit stack=8388608:-1",
        )
        func_name = f"test_lambda_ulimits_{short_uid()}"
        create_lambda_function(
            func_name=func_name,
            handler_file=TEST_LAMBDA_ULIMITS,
            runtime=Runtime.python3_9,
        )
        invoke_result = aws_client.awslambda.invoke(FunctionName=func_name)
        snapshot.match("invoke_runtime_ulimits", invoke_result)
    @pytest.mark.skipif(is_old_provider(), reason="unsupported in old provider")
    @pytest.mark.skipif(
        is_old_local_executor(),
        reason="Monkey-patching of Docker flags is not applicable because no new container is spawned",
    )
    @pytest.mark.only_localstack
    def test_ignore_architecture(self, create_lambda_function, snapshot, monkeypatch, aws_client):
        """Test configuration to ignore lambda architecture by creating a lambda with non-native architecture."""
        monkeypatch.setattr(config, "LAMBDA_IGNORE_ARCHITECTURE", True)