put-object
The aws s3api put-object command is used for uploading files to Astran S3 buckets. It offers a detailed and flexible method to transfer data from your local system to AWS cloud storage. This command supports various parameters to customize the upload operation.
Syntax
aws s3api put-object \
--bucket destinationbucket \
--key destinationobject \
--body /path/to/file
Options
bucket: The name of the S3 bucket where the object will be stored.key: The key for the object in the S3 bucket.file: Path to the local file to upload.
--acl: Sets the access control list for the uploaded object.
By using aws s3api put-object, you can flexibly integrate file uploads to Astran AlwaysReady® into your scripts and workflows.
See also the original AWS documentation.