Difference between revisions of "Aws list all"
Jump to navigation
Jump to search
(107 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | * <code>[[aws cloudformation list-stacks --stack-status-filter]] CREATE_COMPLETE</code> | + | {{lowercase}} |
− | * <code>[[aws cloudfront list-distributions]] | grep DomainName | grep cloudfront.net</code> | + | |
+ | == [[Organizations]] == | ||
+ | * <code>[[aws organizations list-delegated-administrators]]</code> | ||
+ | * <code>[[aws organizations list-accounts]]</code> | ||
+ | * <code>[[aws organizations list-roots]]</code> | ||
+ | |||
+ | == Costs == | ||
+ | * <code>[[aws ce get-cost-and-usage]]</code> | ||
+ | |||
+ | == [[IAM]] == | ||
+ | * <code>[[aws iam list-account-aliases --output text]]</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 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> | ||
+ | |||
* <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 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 rds describe-db-instances]] | grep [[ | + | * <code>[[aws ec2 describe-volumes]]</code> |
+ | * <code>[[aws ec2 describe-key-pairs]] --output=text</code> | ||
+ | * <code>[[aws elasticache describe-cache-clusters]] | grep CacheClusterId</code> | ||
+ | |||
+ | == [[VPC]] == | ||
+ | * <code>[[aws ec2 describe-vpcs]] --output text | egrep -w "Name|[[VPCS]]"</code> | ||
+ | * <code>[[aws ec2 describe-subnets]] | grep [[VpcId]]</code> | ||
+ | * <code>[[aws ec2 describe-vpc-peering-connections]]</code> | ||
+ | |||
+ | == [[VPN]] == | ||
+ | * <code>[[aws ec2 describe-client-vpn-endpoints]]</code> | ||
+ | |||
+ | == [[SAML]] and [[IdP]] == | ||
+ | * <code>[[aws iam list-saml-providers]]</code> | ||
+ | * <code>[[aws cognito-idp list-identity-providers]]</code> | ||
+ | |||
+ | == DBs == | ||
+ | * <code>[[aws rds describe-db-instances]] | [[grep -w]] [[DBInstanceIdentifier]]</code> | ||
+ | * <code>[[aws redshift describe-clusters]] | grep ClusterIdentifier</code> | ||
+ | * <code>[[aws dms describe-connections]]</code> | ||
+ | * <code>[[aws athena list-databases]]</code> | ||
+ | * <code>[[aws dynamodb list-tables]]</code> | ||
+ | * <code>[[aws dms describe-connections]]</code> | ||
+ | * <code>[[aws dms describe-event-subscriptions]]</code> | ||
+ | * <code>[[aws dms describe-replication-tasks]]</code> | ||
+ | |||
+ | S3: | ||
* <code>[[aws s3 ls]]</code> | * <code>[[aws s3 ls]]</code> | ||
+ | * <code>[[aws s3api list-buckets]]</code> | ||
+ | * <code>[[aws s3api list-bucket-inventory-configurations]]</code> | ||
+ | * <code>[[aws s3api get-bucket-policy]]</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> | ||
+ | * <code>[[aws acm list-certificates]] | grep [[DomainName]]</code> | ||
+ | * <code>[[aws codestar list-projects]]</code> | ||
+ | * <code>[[aws secretsmanager list-secrets --output text]]</code> | ||
+ | * <code>[[aws sqs list-queues --output text]]</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-findings]]</code> | ||
+ | * <code>[[aws inspector list-findings]]</code> | ||
+ | * <code>[[aws auditmanager list-assessments]]</code> | ||
+ | * <code>[[aws auditmanager list-controls]]</code> | ||
+ | |||
+ | [[AWS WAF]] / [[Shield]] | ||
+ | * <code>[[aws wafv2 list-web-acls]]</code> | ||
+ | * <code>[[aws shield list-protections]]</code> | ||
+ | |||
+ | [[AWS KMS]] | ||
+ | * <code>[[aws kms list-keys]]</code> | ||
+ | * <code>[[aws kms list-grants]]</code> | ||
+ | |||
+ | == [[AWS monitoring|Monitoring]] == | ||
+ | [[Cloudwatch]] | ||
+ | * <code>[[aws events list-rules]] --output text</code> | ||
+ | * <code>[[aws cloudwatch list-dashboards]]</code> | ||
+ | |||
+ | * <code>[[aws opensearch]] list-domain-names | grep [[DomainName]]</code> | ||
+ | |||
+ | == [[AWS Backup]] == | ||
+ | * <code>aws backup list-backup-jobs</code> | ||
+ | |||
+ | [[Kinesis]] | ||
+ | * <code>[[aws kinesis list-streams]]</code> | ||
+ | |||
+ | [[Glue]] | ||
+ | * <code>[[aws glue list-crawlers]]</code> | ||
+ | |||
+ | [[SSM]] | ||
+ | * <code>[[aws ssm get-inventory]]</code> | ||
+ | * <code>[[aws ssm-incidents list-response-plans]]</code> | ||
+ | * <code>[[aws ssm-incidents list-incident-records]]</code> | ||
+ | |||
+ | * <code>[[aws emr list-clusters]]</code> | ||
+ | * <code>[[aws deploy list-deployments]]</code> | ||
+ | * <code>[[aws codepipeline list-pipelines]]</code> | ||
== Related terms == | == Related terms == | ||
* <code>[[aws-nuke]]</code> | * <code>[[aws-nuke]]</code> | ||
+ | * [[AWS timeline]] | ||
+ | * <code>[[aws sts get-session-token]]</code> | ||
+ | * [[AWS Tag Editor]] | ||
+ | * [[aws-all-regions]] | ||
+ | * [[Amazon EC2 Global View]] (Sep 2021) | ||
+ | * [[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: