### 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_
serialized_environment = json.dumps(e, separators=(":", ","))
    return string_length_bytes(serialized_environment)
@pytest.mark.skipif(is_old_provider(), reason="focusing on new provider")
class TestLambdaFunction:
    @pytest.mark.skip_snapshot_verify(
        
        
        paths=["$..RuntimeVersionConfig.RuntimeVersionArn"]
    )
    @pytest.mark.aws_validated
    def test_function_lifecycle(self, snapshot, create_lambda_function, lambda_su_role, aws_client):
        """Tests CRUD for the lifecycle of a Lambda function and its config"""
        function_name = f"fn-{short_uid()}"
        create_response = create_lambda_function(
            handler_file=TEST_LAMBDA_PYTHON_ECHO,
            func_name=function_name,
            runtime=Runtime.python3_9,
            role=lambda_su_role,
            MemorySize=256,
            Timeout=5,
        )
        snapshot.match("create_response", create_response)
        aws_client.awslambda.get_waiter("function_active_v2").wait(FunctionName=function_name)
        get_function_response = aws_client.awslambda.get_function(FunctionName=function_name)
        snapshot.match("get_function_response", get_function_response)
        update_func_conf_response = aws_client.awslambda.update_function_configuration(
            FunctionName=function_name,
            Runtime=Runtime.python3_8,
            Description="Changed-Description",
            MemorySize=512,