Created
November 27, 2018 23:05
-
-
Save adrianhall/d9bad4a09696683005ae0c70e2b294da to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
functions: | |
dynamodb_stream: | |
handler: elasticsearch.lambda_handler | |
name: ${self:custom.api}-dynamodb_stream_handler | |
description: Stream data from DynamoDB to ElasticSearch | |
runtime: python3.6 | |
memorySize: 128 | |
role: ElasticSearchStreamingLambdaIAMRole | |
environment: | |
ES_ENDPOINT: { Fn::GetAtt: [ ElasticSearchDomain, DomainEndpoint ]} | |
DEBUG: 1 | |
events: | |
- stream: | |
type: dynamodb | |
arn: { Fn::GetAtt: [ DynamoDBTable, StreamArn ]} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment