Complete the code to list all S3 buckets using AWS CLI.
aws s3 [1]The command aws s3 ls lists all your S3 buckets.
Complete the code to create a new S3 bucket named 'my-bucket' in the us-west-2 region.
aws s3api create-bucket --bucket my-bucket --region us-west-2 --[1] LocationConstraint=us-west-2
The --create-bucket-configuration option specifies the region for the new bucket.
Fix the error in the command to copy a file named 'photo.jpg' to the S3 bucket 'my-bucket'.
aws s3 cp [1] s3://my-bucket/The file name must exactly match the file you want to upload, including the extension '.jpg'.
Fill both blanks to list all EC2 instances in the 'us-west-2' region with detailed information.
aws ec2 [1] --region [2] --output json
The command describe-instances lists EC2 instances, and the region must be set to us-west-2.
Fill all three blanks to create a new IAM user named 'developer' with programmatic access and attach the 'AmazonS3ReadOnlyAccess' policy.
aws iam create-user --user-name [1] && aws iam create-access-key --user-name [2] && aws iam attach-user-policy --user-name [3] --policy-arn arn:aws:iam::aws:policy/AmazonS3ReadOnlyAccess
All commands must use the same user name 'developer' to create the user, access keys, and attach the policy.