-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaws_summary.bat
75 lines (59 loc) · 1.42 KB
/
aws_summary.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
echo off
echo %date% %time%
echo *
echo *
echo * API Gateway
call aws apigateway get-rest-apis --output json | findstr "name"
echo *
echo *
echo * Cloudfront
call aws cloudfront list-distributions --output json| findstr "DomainName"
echo *
echo *
echo * Cloudwatch
call aws logs describe-log-groups --output json | findstr "logGroupName"
echo *
echo *
echo * Dynamodb
call aws dynamodb list-tables --output json
echo *
echo *
echo * Running EC2 instance
call aws ec2 describe-instances --filters "Name=instance-state-name,Values=running" --output json | findstr "KeyName"
echo *
echo *
echo * Elasticsearch Domains
call aws es list-domain-names --output json | findstr "DomainName"
echo *
echo *
echo * Firehose
call aws firehose list-delivery-streams --output json
echo *
echo *
echo * Lambdas
call aws lambda list-functions --output json | findstr "FunctionName type"
echo *
echo *
echo * RDS
call aws rds describe-db-instances --output json | findstr "DBName"
echo *
echo *
echo * S3 Buckets
call aws s3api list-buckets --output json | find "Name"
echo *
echo *
echo * Sagemaker
call aws sagemaker list-notebook-instances --output json | findstr "NotebookInstanceName"
echo *
echo *
echo * Secretsmanager
call aws secretsmanager list-secrets --output json | findstr "Name"
echo *
echo *
echo * SQS
call aws sqs list-queues --output json
echo *
echo *
echo * Users
call aws iam list-users --output json | findstr "UserName"
echo on