-
-
Save merictaze/0c4add0c9c275d8e726df7db47f0e498 to your computer and use it in GitHub Desktop.
This file contains 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
EsIndexerFunction: | |
Type: 'AWS::Lambda::Function' | |
Properties: | |
Handler: 'index.handler' | |
Runtime: nodejs6.10 | |
Role: !GetAtt LambdaRole.Arn | |
Code: | |
ZipFile: | | |
exports.handler = (event, context, callback) => { | |
event.Records.forEach(record => { | |
console.log(record); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment