### 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_
StatementId=sid,
            Principal=principal,
        )
        snapshot.match("add_permission_1", permission_1_add)
        sid_2 = "sqs"
        principal_2 = "sqs.amazonaws.com"
        permission_2_add = aws_client.awslambda.add_permission(
            FunctionName=function_name,
            Action=action,
            StatementId=sid_2,
            Principal=principal_2,
            SourceArn=arns.s3_bucket_arn("test-bucket"),
        )
        snapshot.match("add_permission_2", permission_2_add)
        policy_response = aws_client.awslambda.get_policy(
            FunctionName=function_name,
        )
        snapshot.match("policy_after_2_add", policy_response)
        with pytest.raises(aws_client.awslambda.exceptions.ResourceNotFoundException) as e:
            aws_client.awslambda.remove_permission(
                FunctionName=function_name,
                StatementId="non-existent",
            )
        snapshot.match("remove_permission_exception_nonexisting_sid", e.value.response)
        aws_client.awslambda.remove_permission(
            FunctionName=function_name,
            StatementId=sid_2,
        )
        policy_response_removal = aws_client.awslambda.get_policy(
            FunctionName=function_name,