Skip to main content

Amazon S3

The Amazon S3 provider for Data Sync supports read-write operations against an Amazon S3 bucket.

Since S3 stores binary objects you need to connect this provider with a Data Sync provider that supports binary blob or file data.

The following Data Sync providers can be connected to the Amazon S3 provider.

  • FileSystem Provider
  • SharePoint Document Library
  • SQL Server Table with Blob Column configuration.
  • Azure Blob Storage

The Amazon S3 connector also supports incremental sync mode.

Connect

To connect first enter your AccessKeyID and SecretAccessKey, then select the correct region for your bucket, and finally choose the Bucket Name to connect to.

Connect to Amazon S3

Properties

PropertyDescription
BucketNameThe name of the S3 Bucket to connect to.
PrefixDefines a Prefix to be used with S3 bucket queries, the Delimiter is always '/'.
PrefixPathRemoveRemoves the Prefix from the Path when reading the S3 bucket list.
RegionThe AWS region that contains your SimpleDB Domain.
AccessKeyIDThe AWS AccessKey.
SecretAccessKeyThe AWS Secret. You can also use AWS IAM Users/Roles when running from an AWS VM with an IAM role assigned.
WebFriendlyPathsEnsures that file paths are returned with forward slashes (/).

UseCustomMetaDataForDates

Defines two custom metadata fields to contain the file created and modified timestamps in UTC. Data Sync will then use these rather than the Amazon S3 LastModified field which cannot be modified.

  • x-amz-meta-sourcemodifieddate
  • x-amz-meta-sourcecreateddate

Data Schema

Below is the Data Schema that Data Sync returns for the Amazon S3 provider. The actual file data is not part of the schema and is read from Amazon S3 when required during the Synchronisation operation.

ColumnDataTypeDescription
FullFileNameStringThe full relative path to the item including filename.
PathStringThe full relative path to the item.
FileNameStringThe filename of the item.
DateCreatedDateTimeDate Created [x-amz-meta-sourcecreateddate] or LastModified
DateModifiedDateTimeDate Modified [x-amz-meta-sourcemodifieddate] or LastModified
LengthInt64The Length/Size of the file in bytes.
ChecksumStringThe MD5 checksum of the file.