cloudwatch stuff
This commit is contained in:
15
modules/cloudwatch.py
Normal file
15
modules/cloudwatch.py
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
'''
|
||||||
|
example calling cloudwatch functions
|
||||||
|
decribe alarms, describe alarm history, list metrics
|
||||||
|
'''
|
||||||
|
from libs.cloudwatch import *
|
||||||
|
from config import AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY
|
||||||
|
|
||||||
|
def step_cloudwatch_describe_alarms():
|
||||||
|
describe_alarms(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)
|
||||||
|
|
||||||
|
def step_cloudwatch_describe_alarm_history():
|
||||||
|
describe_alarm_history(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)
|
||||||
|
|
||||||
|
def step_cloudwatch_list_metrics():
|
||||||
|
list_metrics(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)
|
||||||
Reference in New Issue
Block a user