package
0.0.0-20171129201522-e888a5ec6428
Repository: https://github.com/eawsy/aws-lambda-go-event.git
Documentation: pkg.go.dev

# README

Amazon CloudWatch Scheduled Events

Back to Home Go Doc AWS Doc

This package allows you to write AWS Lambda functions executed on a regular, scheduled basis using the schedule event capability in Amazon CloudWatch Events.

Quick Hands-On

For step by step instructions on how to author your AWS Lambda function code in Go, see eawsy/aws-lambda-go-shim.

go get -u -d github.com/eawsy/aws-lambda-go-event/...
package main

import (
	"log"

	"github.com/eawsy/aws-lambda-go-event/service/lambda/runtime/event/cloudwatchschedevt"
	"github.com/eawsy/aws-lambda-go-core/service/lambda/runtime"
)

func Handle(evt *cloudwatchschedevt.Event, ctx *runtime.Context) (interface{}, error) {
	log.Println(evt)
	return nil, nil
}