Skip to content

Creating folders Inside S3 bucket using CFT without lambda function

0

Hi All, Need suggestions or inputs for the below problem

create empty folder and copy the files from specified location using cft for s3 bucket without using lambda function

1 Answer
2

Hi,

You don't need a lambda for folders: they don't really exist as such.

An S3 object key is just a suite of chars from S3 standpoint. So, define the proper S3 keys at sender and the proper "folder hierarchy" will appear in S3 even if those folders will never exist.

See this for more details: https://medium.com/@chamaln/why-s3-folders-dont-really-exist-35f29cf70477

Best,

Didier

EXPERT
answered 2 years ago
EXPERT
reviewed 2 years ago
EXPERT
reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.