lambda stuff, libs folder for stuff

This commit is contained in:
carnal0wnage
2017-06-27 21:47:37 -04:00
parent 220e85d7bd
commit 6577f59cfa
10 changed files with 337 additions and 3 deletions

View File

@@ -0,0 +1,26 @@
'''
This file is used to list lambda functions and event mappings
'''
import boto3
import botocore
import json
import urllib
import logging
import sys,os
import pprint
pp = pprint.PrettyPrinter(indent=5, width=80)
#from lambda.lambda import *
from libs.aws_lambda import *
#insert AWS key, will figure out how to pull this in from a single file for all scripts
AWS_ACCESS_KEY_ID = ''
AWS_SECRET_ACCESS_KEY = ''
list_functions(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)
list_event_source_mappings(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)