AWS

Download 48
Last updated Jun 6, 2022

aws-s3-buckets

Returns a list of all AWS S3 buckets.

aws-s3-buckets [profile=PROFILE] [region=REGION]
profile=PROFILE
The identifier of AWS connect profile
region=REGION
AWS region

AWS IAM Policy

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

  • s3:ListAllMyBuckets
  • s3:GetBucketLocation
  • s3:GetBucketAcl

Output Fields

FieldTypeNameDescription
aws_profileStringConnect profileThe identifier of AWS connect profile
regionStringRegione.g. ap-northeast-2
nameStringBucket name
createdDateCreated at
owner_idStringOwner ID
owner_nameStringOwner name
grantsListGrantsElements with grantee_id, grantee_type_id, permission properties