Authorization based page rendering in hugo site which is hosted on AWS?

I have got a static site built using Hugo hosted on AWS Amplify and Route 53.
I want to create few few pages ( later, I would group those pages under a tab and make the tab private ), which should be accessible to set of users only.

Is it possible to have authorization based rendering of static pages ?

Hugo can’t provide such features however deployment providers like Netlify do provide such easy to use auth services.

Thanks for sharing. I will check that out.
Yes, I am aware that Hugo doesn’t have this feature. I was asking on possible solutions in aws or other products.
I have found this from AWS Serve private content with signed URLs and signed cookies

Will evaluate both options.