s3 get-object
Gets Object
Description
Gets specified object from bucket
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
key
- (string)
The key/ filepath in s3 of required object
Example: "testfolder/test2.txt"
Default: _None_
Attributes: required
bucket
- (string)
The name of the bucket where object is located
Example: --bucket "mairatestbucket2"
Default: _None_
Attributes: required
Examples
Input:
Output: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 | bucket |
Please see Access Control for details.