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
Field | Type | Name | Description |
---|---|---|---|
aws_profile | String | Connect profile | The identifier of AWS connect profile |
region | String | Region | e.g. ap-northeast-2 |
bucket | String | Bucket | |
key | String | Key | Object path |
size | Long | Size | Object size in bytes |
modified_at | Date | Modified at | |
storage_class | String | Storage class | e.g. STANDARD |
etag | String | ETag |