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.
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.
Click ‘Upload’ to Upload the function to AWS.
Adding S3 Trigger for Lambda
Configuring conversion settings
Adding the DBC file for conversion
Login to your AWS portal and go to Lambda Services.
Open your Lambda function previously uploaded.
Click on ‘Add trigger’.
Select the following
Source as S3.
Select the Bucket to which the logger uploads data.
Suffix add (.rxd).
Acknowledge the warning.
Load the DBC into the corresponding folder created by the Data Logger. The DBC name should be ‘ExportDBC.dbc’.
Upload the FileConvert.json file into the root folder of the Bucket.
Contents