Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

S3 Bucker Event in AEM?

samaryadav
Level 1
Level 1

Hi Experts,

 

1. We have one requirement like client want to upload asset in to S3 bucket and want to pull asset automatically in to AEM.

     For example: If user uploaded the asset in to S3 bucket then immediately asset should ingest in to AEM.

    Any idea or approach to achieve this kind on requirement?

 

2. Are there any hot folder concept in AEM Asset?

 

Thanks

1 Reply
davidjgonzalezz
Employee
Employee

There is nothing like this OOTB in AEM Assets.

There are 2 main approaches:

 

1. Create code that listeners for S3 events, and pushes those new assets to AEM Assets (this code is all outside of AEM)

2. Create code in AEM (such as a Sling Scheduler [1]) that polls the S3 bucket intermittently (whatever frequency you want; every 1 min, every 10 min, etc.) and pulls in any new assets (since the last poll). 

 

[1] https://sling.apache.org/documentation/bundles/scheduler-service-commons-scheduler.html