How to get the availability zone names inside serverless

How to get availbility zone name inside a serverless script

in cloudformation we use
!Select [0, !GetAZs “”]

I am looking for using similar thing here

no luck with Fn::Select: [0, Fn::GetAZs: [""]]
or Fn::Select: [0, Fn::GetAZs “”]