Skip to content

Instantly share code, notes, and snippets.

[
{
"inputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Page Title</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<h1>Listen to events</h1>
exports.handler = function(event, context) {
var sampleInput = {
totalPhotos: 496,
imagesPerLambda: 100,
bucketName: 'sample-bucket',
imageSizes: [{
width: 600,
height: 400,
description: 'A medium thumbnail',
exports.handler = function(event, context) {
// We'd get this from the Lambda event in reality
var sampleInput = {
from: 1,
to: 39,
bucketName: 'test-bucket',
imageSizes: [{
width: 600,
height: 400,
description: 'A medium thumbnail',