I have all the details of amazon RDS like Endpoint, username, password, database_name. I want to connect the RDS into my React app and need to do some operations on those values.
Any idea of how to fetch values from aws RDS for my react app ?
The typical way to do this is to create a backend for your app that your frontend communicates with through an API.
For a serverless backend, you can for example use an API Gateway REST API that is connected to an AWS Lambda function. The Lambda function will then query the RDS database and return the results of the queries through the API. You can find an explanation for how to query RDS from Lambda here: Configuring a Lambda function to access Amazon RDS in an Amazon VPC
From your React application, you can then send queries to the API with axios, for example. Here is a guide for how to do that.