You have to write custom Authorizers lambda function for validate your firebase tokens.
This lambda function hit before execute your lambda function.
following diagram explain how it's work
For write custom Authorizers function follow this reference. For token validation you can use firebase sdk and its references.