AWS CLI Commands¶
EC2¶
List¶
Metadata¶
S3¶
List¶
List bucket contents
List recursively
Copy¶
Copy file to S3
Copy file from S3
Remove¶
Delete bucket with all of it's contents
Selectively delete bucket contents
Empty the bucket
Share¶
Pre sign a S3 object URL
or
aws s3 presign s3://DOC-EXAMPLE-BUCKET1/mydoc.txt --expires-in 604800 --region ap-south-1 --endpoint-url https://s3.af-south-1.amazonaws.com
S3 Endpoints
S3 endpoint URLs are in the format: http://bucket-name.s3-website.Region.amazonaws.com
Download¶
Downlad a S3 file with Pre-Signed URL
IAM¶
List¶
List all IAM Users