Hello gunjana99577717,
Thank you for reaching out to us.
I understand that you are trying to Integrate AAM with AWS S3 instance but I am not able to understand the given ask here.
Are you trying to connect with Adobe Provided S3 bucket but facing some issue?
Or, you want to connect your own S3 bucket with AAM for data share?
Please help me with requirements here so that I can provide you with an appropriate solution.