create-thumbnails-lambda

module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2020 License: MIT

README

create-thumbnails-lambda

This lambda function will be invoked once you put image to an Amazon S3 Bucket.

The function gets images from the bucket, creates thumbnails, and put them to another bucket.

support: jpeg, gif, png

environment variables

name default value note
IMAGE_RATE 0.5 magnification rate
OBJECT_BUCKET_NAME_ORIGINAL original.images.mububoki Lambda will be invoked when you put images to this bucket.
OBJECT_BUCKET_NAME_THUMBNAIL thumbnail.images.mububoki Lambda puts thumbnails to this bucket.

Directories

Path Synopsis
internal
app/test/mock/mock_controller
Package mock_controller is a generated GoMock package.
Package mock_controller is a generated GoMock package.
app/test/mock/mock_gateway
Package mock_gateway is a generated GoMock package.
Package mock_gateway is a generated GoMock package.
app/test/mock/mock_interactor
Package mock_interactor is a generated GoMock package.
Package mock_interactor is a generated GoMock package.
app/test/mock/mock_port
Package mock_port is a generated GoMock package.
Package mock_port is a generated GoMock package.
app/test/mock/mock_s3
Package mock_s3 is a generated GoMock package.
Package mock_s3 is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL