Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions docs/functions/map_to_s3.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
map_to_s3
=========

This function provides mapping from a web URI, delivered by an AWS CloudFront
event, to the key of an object in an AWS S3 bucket.
The map_to_s3 function provides mapping from a web URI, delivered by an AWS
CloudFront event, to the key of an object in an AWS S3 bucket.

The mapping between the URI and the object key is defined by the provided AWS
DynamoDB table this function is deployed with.
Using this function, a URI like "/path/to/s3/file" would be transformed to
something like "/some-s3-file-object-key".

The mapping between the URI and the object key is defined by the AWS DynamoDB
table specified in the configuration file that this function is deployed with.

Required schemas for the DynamoDB table and S3 bucket can be found in the
:doc:`schema reference <../schema-reference>`.
Expand Down
2 changes: 1 addition & 1 deletion docs/schemas/map_to_s3-schema.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Keys
The datetime at which the content is made available, i.e.,
"2020-02-17T20:48:13.037+00:00".

Only content sooner than or equal to the current date and time may be
Only content with a from_date sooner than or equal to the current date and time may be
retrieved from the origin.

Attributes
Expand Down