This commit is contained in:
carnal0wnage
2017-06-30 17:08:12 -04:00
parent 79404c7641
commit 054c3b130d
2 changed files with 99 additions and 0 deletions

25
emr_list_clusters.py Normal file
View File

@@ -0,0 +1,25 @@
'''
This file is used to perform some EMR actions
'''
import boto3
import botocore
import json
import urllib
import logging
import sys,os
import pprint
pp = pprint.PrettyPrinter(indent=5, width=80)
from libs.emr 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_clusters(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)
list_security_configurations(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)