Discover Packages
github.com/usagiga/s3-remove-exif
command
module
Version:
v0.0.0-...-f7d51a8
Opens a new window with list of versions in this module.
Published: Oct 18, 2021
License: MIT
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: ? modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
README
README
¶
s3-remove-exif
soon after uploaded, remove exif
Installation
Set up AWS
IAM Policy
IAM Role
AWSLambdaBasicExecutionRole
the policy above
Lambda
Runtime: Go 1.x
Handler: OnObjectCreated
Arch: x86_64
IAM Role: the role above
S3
Event trigger: Lambda above
ACL, Bucket Policy: as you like
Download s3-remove-exif.zip from Releases
Or, run curl -fsSL https://github.com/usagiga/s3-remove-exif/releases/download/${VERSION}/s3-remove-exif-lambda.zip --output s3-remove-exif-lambda.zip
Upload s3-remove-exif.zip to AWS Lambda
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "s3-remove-exif-default",
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:GetObject",
"s3:ListBucket",
],
"Resource": [
"arn:aws:s3:::YOUR_BUCKET_HERE/*",
"arn:aws:s3:::YOUR_BUCKET_HERE"
]
}
]
}
Usage
Upload an image to your bucket
Soon after remove EXIF from uploaded image
NOTE: processed images has default ACL ( private )
🎉
LICENSE
MIT
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.