eventsource_lambda

package module
v0.0.0-...-6048c43 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

README

eventsource-lambda

Transports for publishing eventsource events using AWS lambda.

This library makes use of the excellent apex library to manage lambda functions.

Functions

dynamodb-to-firehose

Publishes events from dynamodb to kinesis firehose for ultimate storage on S3. Very useful if you intend on using S3 / Cloud Front for event replay and backup.

More Info

dynamodb-to-stan

Publishes events from dynamodb to nats stream server for real time event processing.

More Info

Deployment

As each function requires its own configuration, functions should be deployed independently. For example, to deploy dynamodb-to-firehose using a config stored in s3://my-config/production/config.yaml with an iam role of arn:aws:iam::872981728712:role/eventsource_lambda_function, you would write:

apex deploy dynamodb-to-firehose \
    --iamrole arn:aws:iam::872981728712:role/eventsource_lambda_function \
    --set "S3_CONFIG=s3://my-config/production/config.yaml"

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Unmarshal

func Unmarshal(s3api s3iface.S3API, s3uri string, v interface{}) error

Types

This section is empty.

Directories

Path Synopsis
functions

Jump to

Keyboard shortcuts

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