### 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_
Timeout=10,
            Environment={"Variables": {"ENV_A": "a"}},
        )
        snapshot.match("update_func_conf_response", update_func_conf_response)
        aws_client.awslambda.get_waiter("function_updated_v2").wait(FunctionName=function_name)
        get_function_response_postupdate = aws_client.awslambda.get_function(
            FunctionName=function_name
        )
        snapshot.match("get_function_response_postupdate", get_function_response_postupdate)
        zip_f = create_lambda_archive(load_file(TEST_LAMBDA_PYTHON_VERSION), get_content=True)
        update_code_response = aws_client.awslambda.update_function_code(
            FunctionName=function_name,
            ZipFile=zip_f,
        )
        snapshot.match("update_code_response", update_code_response)
        aws_client.awslambda.get_waiter("function_updated_v2").wait(FunctionName=function_name)
        get_function_response_postcodeupdate = aws_client.awslambda.get_function(
            FunctionName=function_name
        )
        snapshot.match("get_function_response_postcodeupdate", get_function_response_postcodeupdate)
        delete_response = aws_client.awslambda.delete_function(FunctionName=function_name)
        snapshot.match("delete_response", delete_response)
        with pytest.raises(aws_client.awslambda.exceptions.ResourceNotFoundException) as e:
            aws_client.awslambda.delete_function(FunctionName=function_name)
        snapshot.match("delete_postdelete", e.value.response)
    @pytest.mark.aws_validated
    def test_redundant_updates(self, create_lambda_function, snapshot, aws_client):
        """validates that redundant updates work (basically testing idempotency)"""
        function_name = f"fn-{short_uid()}"
        create_response = create_lambda_function(