Difference between revisions of "Aws list all"
Jump to navigation
Jump to search
(26 intermediate revisions by 3 users not shown) | |||
Line 5: | Line 5: | ||
* <code>[[aws organizations list-accounts]]</code> | * <code>[[aws organizations list-accounts]]</code> | ||
* <code>[[aws organizations list-roots]]</code> | * <code>[[aws organizations list-roots]]</code> | ||
+ | |||
+ | == Costs == | ||
+ | * <code>[[aws ce get-cost-and-usage]]</code> | ||
== [[IAM]] == | == [[IAM]] == | ||
* <code>[[aws iam list-account-aliases --output text]]</code> | * <code>[[aws iam list-account-aliases --output text]]</code> | ||
* <code>[[aws iam list-roles]] --output text | grep ROLES</code> | * <code>[[aws iam list-roles]] --output text | grep ROLES</code> | ||
+ | * <code>[[aws iam list-users]]</code> | ||
* <code>[[aws cloudformation list-stacks --stack-status-filter]] [[CREATE_COMPLETE]] | grep [[TemplateDescription]]</code> | * <code>[[aws cloudformation list-stacks --stack-status-filter]] [[CREATE_COMPLETE]] | grep [[TemplateDescription]]</code> | ||
* <code>[[aws cloudfront list-distributions]] | grep DomainName | grep [[cloudfront.net]]</code> | * <code>[[aws cloudfront list-distributions]] | grep DomainName | grep [[cloudfront.net]]</code> | ||
+ | * <code>[[aws cloudfront list-functions]] | grep Name</code> | ||
* <code>[[aws route53 list-hosted-zones]] | grep Name</code> | * <code>[[aws route53 list-hosted-zones]] | grep Name</code> | ||
* <code>[[aws route53 list-resource-record-sets]]</code> | * <code>[[aws route53 list-resource-record-sets]]</code> | ||
Line 16: | Line 21: | ||
* <code>[[aws elbv2 describe-load-balancers]] | grep [[LoadBalancerName]]</code> | * <code>[[aws elbv2 describe-load-balancers]] | grep [[LoadBalancerName]]</code> | ||
* <code>[[aws elbv2 describe-target-groups]] | grep [[TargetGroupName]]</code> | * <code>[[aws elbv2 describe-target-groups]] | grep [[TargetGroupName]]</code> | ||
+ | |||
+ | * <code>[[aws dlm get-lifecycle-policies]]</code> | ||
+ | |||
+ | == [[EC2]] == | ||
* <code>[[aws ec2 describe-instances]] | egrep "InstanceId|InstanceType|running"</code> | * <code>[[aws ec2 describe-instances]] | egrep "InstanceId|InstanceType|running"</code> | ||
* <code>[[aws ec2 describe-addresses]] | grep [[PublicIP]]</code> | * <code>[[aws ec2 describe-addresses]] | grep [[PublicIP]]</code> | ||
* <code>[[aws ec2 describe-volumes]]</code> | * <code>[[aws ec2 describe-volumes]]</code> | ||
− | |||
* <code>[[aws ec2 describe-key-pairs]] --output=text</code> | * <code>[[aws ec2 describe-key-pairs]] --output=text</code> | ||
+ | * <code>[[aws elasticache describe-cache-clusters]] | grep CacheClusterId</code> | ||
== [[VPC]] == | == [[VPC]] == | ||
Line 42: | Line 51: | ||
* <code>[[aws dms describe-connections]]</code> | * <code>[[aws dms describe-connections]]</code> | ||
* <code>[[aws dms describe-event-subscriptions]]</code> | * <code>[[aws dms describe-event-subscriptions]]</code> | ||
+ | * <code>[[aws dms describe-replication-tasks]]</code> | ||
S3: | S3: | ||
Line 50: | Line 60: | ||
* <code>[[aws s3api get-bucket-versioning]]</code> | * <code>[[aws s3api get-bucket-versioning]]</code> | ||
− | + | [[Containers]]: | |
* <code>[[aws ecs list-clusters]] | grep [[arn]]</code> | * <code>[[aws ecs list-clusters]] | grep [[arn]]</code> | ||
* <code>[[aws eks list-clusters]]</code> | * <code>[[aws eks list-clusters]]</code> | ||
+ | * <code>[[aws eks list-fargate-profiles]]</code> | ||
* <code>[[aws ecr describe-repositories]] | grep [[repositoryName]]</code> | * <code>[[aws ecr describe-repositories]] | grep [[repositoryName]]</code> | ||
+ | |||
+ | == Misc == | ||
* <code>[[aws logs describe-log-groups]] | grep [[logGroupName]]</code> | * <code>[[aws logs describe-log-groups]] | grep [[logGroupName]]</code> | ||
− | |||
* <code>[[aws lambda list-functions]] | grep FunctionName</code> | * <code>[[aws lambda list-functions]] | grep FunctionName</code> | ||
* <code>[[aws apigateway get-api-keys]]</code> | * <code>[[aws apigateway get-api-keys]]</code> | ||
Line 63: | Line 75: | ||
* <code>[[aws sqs list-queues --output text]]</code> | * <code>[[aws sqs list-queues --output text]]</code> | ||
* <code>[[aws devops-guru list-insights]]</code> | * <code>[[aws devops-guru list-insights]]</code> | ||
+ | * <code>[[aws budgets describe-budgets]]</code> | ||
− | + | == [[AWS security|Security]] == | |
* <code>[[aws guardduty list-detectors]] --output text</code> | * <code>[[aws guardduty list-detectors]] --output text</code> | ||
* <code>[[aws guardduty list-findings]]</code> | * <code>[[aws guardduty list-findings]]</code> | ||
+ | * <code>[[aws inspector list-findings]]</code> | ||
* <code>[[aws auditmanager list-assessments]]</code> | * <code>[[aws auditmanager list-assessments]]</code> | ||
* <code>[[aws auditmanager list-controls]]</code> | * <code>[[aws auditmanager list-controls]]</code> | ||
Line 74: | Line 88: | ||
* <code>[[aws shield list-protections]]</code> | * <code>[[aws shield list-protections]]</code> | ||
− | [[KMS]] | + | [[AWS KMS]] |
− | * <code>[[aws kms]]</code> | + | * <code>[[aws kms list-keys]]</code> |
+ | * <code>[[aws kms list-grants]]</code> | ||
− | == | + | == [[AWS monitoring|Monitoring]] == |
− | [[AWS monitoring|Monitoring]] | + | [[Cloudwatch]] |
− | * <code>[[aws events | + | * <code>[[aws events list-rules]] --output text</code> |
* <code>[[aws cloudwatch list-dashboards]]</code> | * <code>[[aws cloudwatch list-dashboards]]</code> | ||
* <code>[[aws opensearch]] list-domain-names | grep [[DomainName]]</code> | * <code>[[aws opensearch]] list-domain-names | grep [[DomainName]]</code> | ||
− | [[AWS Backup]] | + | == [[AWS Backup]] == |
* <code>aws backup list-backup-jobs</code> | * <code>aws backup list-backup-jobs</code> | ||
Line 100: | Line 115: | ||
* <code>[[aws emr list-clusters]]</code> | * <code>[[aws emr list-clusters]]</code> | ||
+ | |||
+ | * <code>[[aws deploy list-deployments]]</code> | ||
+ | * <code>[[aws codepipeline list-pipelines]]</code> | ||
== Related terms == | == Related terms == | ||
Line 109: | Line 127: | ||
* [[Amazon EC2 Global View]] (Sep 2021) | * [[Amazon EC2 Global View]] (Sep 2021) | ||
* [[AWS Tag Editor]] (2014) | * [[AWS Tag Editor]] (2014) | ||
+ | * <code>[[aws configservice get-discovered-resource-counts]]</code> | ||
+ | * <code>[[aws resourcegroupstaggingapi get-resources]]</code> | ||
+ | * <code>[[gcloud asset search-all-resources]]</code> | ||
+ | * [[AWS info]] | ||
+ | * [[aws ec2 describe-regions --query]] "Regions[].{Name:RegionName}" --output text | parallel aws ec2 describe-instances --region {} | ||
== See also == | == See also == | ||
+ | * {{aws list all}} | ||
* {{aws cli}} | * {{aws cli}} | ||
[[Category:AWS]] | [[Category:AWS]] |
Latest revision as of 09:35, 21 June 2024
Contents
Organizations[edit]
aws organizations list-delegated-administrators
aws organizations list-accounts
aws organizations list-roots
Costs[edit]
IAM[edit]
aws iam list-account-aliases --output text
aws iam list-roles --output text | grep ROLES
aws iam list-users
aws cloudformation list-stacks --stack-status-filter CREATE_COMPLETE | grep TemplateDescription
aws cloudfront list-distributions | grep DomainName | grep cloudfront.net
aws cloudfront list-functions | grep Name
aws route53 list-hosted-zones | grep Name
aws route53 list-resource-record-sets
aws elbv2 describe-load-balancers | grep LoadBalancerName
aws elbv2 describe-target-groups | grep TargetGroupName
EC2[edit]
aws ec2 describe-instances | egrep "InstanceId|InstanceType|running"
aws ec2 describe-addresses | grep PublicIP
aws ec2 describe-volumes
aws ec2 describe-key-pairs --output=text
aws elasticache describe-cache-clusters | grep CacheClusterId
VPC[edit]
aws ec2 describe-vpcs --output text | egrep -w "Name|VPCS"
aws ec2 describe-subnets | grep VpcId
aws ec2 describe-vpc-peering-connections
VPN[edit]
SAML and IdP[edit]
DBs[edit]
aws rds describe-db-instances | grep -w DBInstanceIdentifier
aws redshift describe-clusters | grep ClusterIdentifier
aws dms describe-connections
aws athena list-databases
aws dynamodb list-tables
aws dms describe-connections
aws dms describe-event-subscriptions
aws dms describe-replication-tasks
S3:
aws s3 ls
aws s3api list-buckets
aws s3api list-bucket-inventory-configurations
aws s3api get-bucket-policy
aws s3api get-bucket-versioning
aws ecs list-clusters | grep arn
aws eks list-clusters
aws eks list-fargate-profiles
aws ecr describe-repositories | grep repositoryName
Misc[edit]
aws logs describe-log-groups | grep logGroupName
aws lambda list-functions | grep FunctionName
aws apigateway get-api-keys
aws acm list-certificates | grep DomainName
aws codestar list-projects
aws secretsmanager list-secrets --output text
aws sqs list-queues --output text
aws devops-guru list-insights
aws budgets describe-budgets
Security[edit]
aws guardduty list-detectors --output text
aws guardduty list-findings
aws inspector list-findings
aws auditmanager list-assessments
aws auditmanager list-controls
Monitoring[edit]
aws events list-rules --output text
aws cloudwatch list-dashboards
aws opensearch list-domain-names | grep DomainName
AWS Backup[edit]
aws backup list-backup-jobs
Related terms[edit]
aws-nuke
- AWS timeline
aws sts get-session-token
- AWS Tag Editor
- aws-all-regions
- Amazon EC2 Global View (Sep 2021)
- AWS Tag Editor (2014)
aws configservice get-discovered-resource-counts
aws resourcegroupstaggingapi get-resources
gcloud asset search-all-resources
- AWS info
- aws ec2 describe-regions --query "Regions[].{Name:RegionName}" --output text | parallel aws ec2 describe-instances --region {}
See also[edit]
aws list all
, AWS info- AWS CLI,
aws
[configure
|iam
|ec2
|ecs
|eks
|s3
|rds
|sts
|cloudwatch
|cloudformation
|cloudfront
|eventbridge
|lambda
],aws configure list
,.aws/credentials
,.aws/config
,~/.aws/cli/alias
,--output [ table | json | text | XXX ]
, Aws cli environmental variables:AWS_PROFILE
,AWS_DEFAULT_REGION, AWS_REGION
,AWS_CLI_AUTO_PROMPT
,AWS_SESSION_TOKEN
,aws list all
,auto-prompt
,--version
,whoamiaws, --filters, --help
Advertising: