Passer au contenu

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 réponse
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
répondu il y a 2 ans
EXPERT
vérifié il y a 2 ans
EXPERT
vérifié il y a 2 ans
  • Hi Dider, can I get the sample cft code on folder creation ?

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.