s3 list-buckets
List all S3 buckets
Description
List all S3 buckets
Synopsis
Arguments
site
- (string)
Site where this command will be executed
Example: --site "site-1"
Default: input.site
Attributes: optional
region
- (string)
AWS region for the service
Example: --region "region-1"
Default: _None_
Attributes: optional
Examples
Input:
Output:{
"buckets": [
{
"name": "test1",
"createdTime": "2022-09-19T10:32:34Z"
},
{
"name": "test2",
"createdTime": "2022-09-19T08:26:38Z"
}
]
}
CREATION_TIME NAME
2022-09-19 10:32:34 +0000 UTC beehyvpavan
2022-09-19 08:26:38 +0000 UTC pavantest13
Access Control
To use this command, you need access to the following:
Field | Value |
---|---|
Action | "read" |
Service Type | "s3" |
Service Instance | |
Namespace | |
Object Type | "bucket" |
Object ID | "" |
Please see Access Control for details.