Create Lambda Function
Create Lambda Function
- Access the Lambda service management interface
![Lambda](https://yuisofull.github.io/Lambda-S3/images/2.prerequisite/001-createlambda.png)
- On the Create function page:
- Under Function name, enter s3-upload.
- Under Runtime, select Amazon Linux 2023.
- Under Architecture, select arm64.
- Click Create Function.
![Lambda](https://yuisofull.github.io/Lambda-S3/images/2.prerequisite/002-createlambda.png)
- After successful creation, select Configuration.
![Lambda](https://yuisofull.github.io/Lambda-S3/images/2.prerequisite/003-createlambda.png)
- On the IAM page:
- Select Add permissions.
- Select Attach policies.
![Lambda](https://yuisofull.github.io/Lambda-S3/images/2.prerequisite/004-createlambda.png)
- For convenience, search and select AmazonS3FullAccess. In production, we would configure more granular permissions.
- Click Add permissions.
![Lambda](https://yuisofull.github.io/Lambda-S3/images/2.prerequisite/005-createlambda.png)