Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

AWS Service in AEM | AEM Community Blog Seeding

Avatar

Administrator

BlogImage.jpg

AWS Service in AEM by AEM Learning Repository

Abstract

For incorporating any third party services/APIs in AEM, we have two direct possible routes - Via Java SDK(as available in Maven Central) and via Javascript SDK. Choice between the two depends on the availability, functional requirement and existing project set up.

With respect to AWS services, we have both SDK available and in this post, I am using AWS JAVA SDK V2.

Note : The intention of this post is to demonstrate the ways to make use of AWS service in AEM projects and not to illustrate about the AWS service itself.

Prerequisites:
AWS IAM user with Programmatic access type and with permissions to desired service set via Groups in IAM
Access Key and Secret key pertaining to the user as created above.
Reference : https://docs.aws.amazon.com/IAM/latest/UserGuide/id_users_create.html

Approach:
Include SDK in code base.
Set up the acquired Security credentials(Access key and Secret key)
Code the desired functionality

Include SDK in code base:
We can make use of simple maven project as mentioned in my previous post to build and install OSGI bundle out of desired AWS Java SDK V2 (maven dependency - https://mvnrepository.com/artifact/software.amazon.awssdk)
Decide on the service and use its respective maven dependency to build and install OSGI bundle out of the same.

With this step, AWS service of interest will be available in our instance in the form of OSGI bundle.

Read Full Blog

AWS Service in AEM

Q&A

Please use this thread to ask the related questions.



Kautuk Sahni
Topics

Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies