lambda stuff, libs folder for stuff
This commit is contained in:
26
lambda_list_functions_and_mappings.py
Normal file
26
lambda_list_functions_and_mappings.py
Normal 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)
|
||||
Reference in New Issue
Block a user