Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.