Skip to main content

get-object

The aws s3api get-object command is used for downloading files from Astran S3 buckets. It provides a straightforward and flexible method to retrieve data from AWS cloud storage to your local system. This command supports various parameters to customize the download operation.

Syntax

aws s3api get-object \
--bucket BUCKET_NAME \
--key OBJECT_KEY \
<outfile>

Options

  • bucket: The name of the S3 bucket from which the object will be downloaded.
  • key: The key for the object in the S3 bucket.
  • <outfile>: The path for the output

  • --range: Specifies the byte range of the object to download.
  • --version-id: Specifies the version ID of the object version to download

By using aws s3api get-object, you can easily integrate file downloads from Astran Continuity Cloud into your scripts and workflows.

See also the original AWS documentation.