AWS

Download 184
Last updated Feb 21, 2024

aws-s3-objects

Returns all objects in a AWS S3 bucket

aws-s3-objects [profile=PROFILE] [bucket=BUCKET]
profile=PROFILE
The identifier of AWS connect profile
bucket=BUCKET
S3 bucket name

AWS IAM Policy

To use this command, you must allow the below permissions in your AWS IAM policy:

  • s3:ListBucket
  • s3:GetBucketLocation

Output Fields

FieldTypeNameDescription
aws_profileStringConnect profileThe identifier of AWS connect profile
regionStringRegione.g. ap-northeast-2
bucketStringBucket
keyStringKeyObject path
sizeLongSizeObject size in bytes
modified_atDateModified at
storage_classStringStorage classe.g. STANDARD
etagStringETag