CLI Usage
When using a command, specify at least one path argument. The two-path arguments are LocalPath and S3Uri:
- LocalPath: This represents the path of a local file or directory, which can be written as an absolute or relative path.
- S3Uri: This represents the location of an S3 object, prefix, or bucket. The command form is s3://myBucketName/myKey. The path argument must begin with s3:// to indicate that the path argument refers to an S3 object.
The overall command structure is aws s3 <Command> [<Arg> …]. The following table shows the different commands with a description and an example: