Your Name 3 년 전
부모
커밋
3dbfaece67
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      hhh/aws-monitor/cl-test.py

+ 6 - 0
hhh/aws-monitor/cl-test.py

@@ -0,0 +1,6 @@
+import subprocess
+cmd='aws cloudtrail lookup-events --lookup-attributes AttributeKey=EventName,AttributeValue=RunInstances --max-results 20 --region us-east-1'
+cmds=cmd.split(' ')
+cl=subprocess.run(cmds, capture_output=True)
+print(cl)
+