For Beginners
- Login to your AWS portal and go to Lambda Services. 
- Click on 'Create Function'. 

- Once in the 'Create Function' window: - Select 'Author from scratch. 
- In Basic information: - Define function name. 
- Select Runtime as '.NET 8 (C#/F#/PowerShell) (from the drop-down options). 
- Select Architecture, x86_64 (from the given options). 
 
- In Permissions, Change the default execution role: - If you are uploading for the first time, make sure 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. - Select 'Use an existing role'. 
- Select the Existing role as 'influx_lambda_role' from the drop-down options. 
 
 
 
- Select 'Create function'. 

- Once the function is created, click on 'Upload from'. 

- Click 'Upload'. 

- Select the function code's zip file, and click 'Open'. 

- Once the zip file is uploaded, click 'Save'. 

- Once on the function window, under the 'Code' tab, locate 'Runtime settings' and click 'Edit' if you wish to edit any credentials. 

- In Runtime settings: - Add Runtime as .NET 6 (C#/PowerShell). 
- Change handler as AWSLambdaFileConvert::AWSLambdaConvert.Function::ConvertFiles 
- Chose Architecture. 
- Click 'Save'. 
 

- To edit the general configuration, click' Configuration' and select' Edit'. - As desired, edit details such as memory, ephemeral (temporary) storage, and time out. 
  
Continue to Adding S3 Trigger for Lambda
Last updated
