localstack-api-gateway-lambda-sns-example

command module
v0.0.0-...-0077085 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2020 License: MIT Imports: 3 Imported by: 0

README

localstack-api-gateway-lambda-sns-example

This example demonstrates how we can test an AWS stack on our local machine using LocalStack.

The specification for this Lambda function is as follows:

  • It is triggered by an AWS API Gateway Proxy Request event;
  • It stores the body from the request in a configured Redis cache, using the AWS Request ID as the key; and
  • It publishes the key for the cached record to a configured SNS topic.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
mocks
pkg/repository
Package mock_repository is a generated GoMock package.
Package mock_repository is a generated GoMock package.
third-party/aws/aws-sdk-go/service/sns/snsiface
Package mock_snsiface is a generated GoMock package.
Package mock_snsiface is a generated GoMock package.
third-party/gomodule/redigo
Package mock_redis is a generated GoMock package.
Package mock_redis is a generated GoMock package.
pkg

Jump to

Keyboard shortcuts

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