Before proceeding, make sure you have Visual Studio 2022 Installed, and the supporting components are installed as per the .vsconfig file in the link below
Clone or download the repository
https://github.com/InfluxTechnology/ReXlibrary/tree/master/Demo/AWS_Lambda
Open \Demo\AWS_Lambda\AWSLambdaFileConvert.csproj
Provide your credentials with permission to S3 and Lambda for your AWS SDK (Refer)
Right-click on the project name and select 'Publish to AWS Lambda…'
Select
'AWS Credential'
Choose 'Region' in which you have the S3 Bucket.
Enter the 'Description' for the function if required.
Leave everything else to default.
Choose an IAM role that provides the Lambda functions necessary permission to access all S3 Services and all Lambda services.
If uploading for the first time, ensure you have created an IAM role with the following permissions; refer to the link.
If you have already created a role, you can continue by selecting the existing role.
Click 'Upload' to Upload the function to AWS.
Continue to Adding S3 Trigger for Lambda