Amazon S3 - Multiple keys to one object -
i have s3 bucket more 100 million objects in each object has unique key usual. wondering if there way assign key of these objects. this:
key1 ---> object1
key2 ---> object2
key3 ---> object2 (i'd add this)
i looked in aws documentation couldn't find relevant.
another approach create dummy object key3 redirects actual object. easier?
a key unique identifier object:
each amazon s3 object has data, key, , metadata. object key (or key name) uniquely identifies object in bucket.
another approach create dummy object key3 redirects actual object. easier?
yes this: use user defined object metadata create key3, , in metadata define key/value pair this:
x-amz-meta-keyalias=key2
that metadata expresses key alias key.
your app read metadata, , redirect request key3 key2.
if bucket exposed public website, implement form of redirection. update: works object type/extension, when using website endpoint
Comments
Post a Comment