CmdID / aws / aws datasync
aws datasync update-location-s3
Modifies the following configuration parameters of the Amazon S3 transfer location that you're using with DataSync. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--location-arnSpecifies the Amazon Resource Name (ARN) of the Amazon S3 transfer location that you're updating.--s3-configSpecifies the Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that DataSync uses to access your S3 bucket.--s3-storage-classSpecifies the storage class that you want your objects to use when Amazon S3 is a transfer destination.--subdirectorySpecifies a prefix in the S3 bucket that DataSync reads from or writes to (depending on whether the bucket is a source or destination location).