### 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_
)
        snapshot.match("policy_after_removal", policy_response_removal)
        policy_response_removal_attempt = aws_client.awslambda.get_policy(
            FunctionName=function_name,
        )
        snapshot.match("policy_after_removal_attempt", policy_response_removal_attempt)
        aws_client.awslambda.remove_permission(
            FunctionName=function_name,
            StatementId=sid,
            RevisionId=policy_response_removal_attempt["RevisionId"],
        )
        
        with pytest.raises(aws_client.awslambda.exceptions.ResourceNotFoundException) as ctx:
            aws_client.awslambda.get_policy(FunctionName=function_name)
        snapshot.match("get_policy_exception_removed_all", ctx.value.response)
    @pytest.mark.aws_validated
    def test_create_multiple_lambda_permissions(self, create_lambda_function, snapshot, aws_client):
        """Test creating multiple lambda permissions and checking the policy"""
        function_name = f"test-function-{short_uid()}"
        create_lambda_function(
            func_name=function_name,
            runtime=Runtime.python3_9,
            handler_file=TEST_LAMBDA_PYTHON_ECHO,
        )
        action = "lambda:InvokeFunction"
        sid = "logs"
        resp = aws_client.awslambda.add_permission(
            FunctionName=function_name,
            Action=action,
            StatementId=sid,