Skip to content

Instantly share code, notes, and snippets.

@gregsgit
gregsgit / keybase.md
Created July 26, 2018 14:48
GitHub Proof for keybase

Keybase proof

I hereby claim:

  • I am gregsgit on github.
  • I am gregs (https://keybase.io/gregs) on keybase.
  • I have a public key ASBynSGH4Xpud2XGpKXTWL895A9OB62oFGDtaCJmMxtufQo

To claim this, I am signing this object:

@gregsgit
gregsgit / CodeCommitLambdaFunction_allEvents.py
Last active December 4, 2021 05:45
AWS Lambda triggered by pushes/commits, constructs simple message and then triggers a SNS topic
# ARN - arn:aws:lambda:us-east-2:750303481583:function:DoverCodeCommitLambdaFunction_allEvents
import json
import boto3
from datetime import datetime as dt
from string import split
codecommit = boto3.client('codecommit')
sns = boto3.client('sns')