A unified tool to manage AWS services from the terminal. This guide focuses on CLI v2 features, practical examples, and advanced patterns for experienced developers.
| --profile NAME | Use named profile from /.aws/credentials | | --region REGION | Override default region (e.g., us-east-1) | | --output FORMAT | Output: json (default), text, table, yaml, yaml-stream | | --query EXPR | Filter output using JMESPath expressions | | --no-paginate | Disable auto-pagination (first page only) |
| --dry-run | Check permissions without executing (EC2, etc.) | | --debug | Verbose HTTP/API debug logging | | --cli-auto-prompt | Interactive parameter completion | | --no-cli-pager | Disable output paging |
Guida rapida di AWS CLI v2 per sviluppatori esperti. Copre elaborazione (Lambda, ECS, EKS), archiviazione (S3, DynamoDB, Aurora), rete (VPC, tunneling SSM), sicurezza (IAM, Secrets Manager) e CI/CD di azioni GitHub. Da utilizzare quando viene richiesto di "scrivere comandi aws", "debug di aws access", "impostare ruoli tra account", "configurare aws cli", "assumere ruolo", "operazioni del bucket S3" o "distribuire in ECS". Fonte: spillwavesolutions/mastering-aws-cli.