### 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_
with pytest.raises(lambda_client.exceptions.ResourceNotFoundException) as e:
            lambda_client.put_provisioned_concurrency_config(
                FunctionName=function_name, Qualifier="10", ProvisionedConcurrentExecutions=1
            )
        snapshot.match("put_provisioned_version_doesnotexist", e.value.response)
        
        with pytest.raises(lambda_client.exceptions.InvalidParameterValueException) as e:
            lambda_client.put_provisioned_concurrency_config(
                FunctionName=function_name, Qualifier="$LATEST", ProvisionedConcurrentExecutions=1
            )
        snapshot.match("put_provisioned_latest", e.value.response)
    @pytest.mark.aws_validated
    def test_lambda_provisioned_lifecycle(self, create_lambda_function, snapshot, aws_client):
        acc_settings = aws_client.awslambda.get_account_settings()
        reserved_limit = acc_settings["AccountLimit"]["UnreservedConcurrentExecutions"]
        min_capacity = 10
        extra_provisioned_concurrency = 1
        if reserved_limit <= (min_capacity + extra_provisioned_concurrency):
            pytest.skip(
                "Account limits are too low. You'll need to request a quota increase on AWS for UnreservedConcurrentExecution."
            )
        function_name = f"lambda_func-{short_uid()}"
        create_lambda_function(
            handler_file=TEST_LAMBDA_PYTHON_ECHO,
            func_name=function_name,
            runtime=Runtime.python3_9,
        )
        publish_version_result = aws_client.awslambda.publish_version(FunctionName=function_name)
        function_version = publish_version_result["Version"]
        snapshot.match("publish_version_result", publish_version_result)