Kibana Authentication from AWS cognito

Hi All,

I am trying to authenticate kibana from AWS cognito user pool, I have got the procedure to connect AWS elasticsearch service from cognito. But my kibana is running on my own ec2 server. Can someone help me to configure the connection from kibana server to cognito service?
Thanks in advance