AWS.S3.IS3UploadPartCopyRequest.CopySource

Specify the source object.

property CopySource: string;
__property AnsiString CopySource;

File: AWS.S3.pas 

Namespace: AWS.S3 

Module: Appercept AWS SDK for Delphi 

There are two formats for a copy source:

  • For objects not through an access point, the bucket name and object key separated by a forward slash /. For example: mybucket/sales/report.pdf refers to an object sales/report.pdf in the mybucket bucket.
  • For objects accessed through an access point, specify the Amazon Resource Name (ARN) in the format arn:aws:s3:<Region>:<account-id>:accesspoint/<access-point-name>/object/<key>.

To copy a specific version append ?versionId=<object version ID> to the value.

Copyright © 2019-2021 Appercept Ltd. All rights reserved.