Role-based AWS Setup for Mulesoft S3 Connector's On New Object Component (Including Local Run Setup)
.jpg)
This document covers setting up AWS Services when using Mulesoft S3 Connector's On New Object component. We'll cover the minimum permissions required (Least-Privilege Access) by this component. The S3 Connector here is configured to use AWS IAM Role-based authentication which is only applicable for CloudHub 2.0 deployments targeted inside a Private Space. The role-based authentication is only supported by latest versions of this connector viz. 6.2.0+. The On New Object component is an event source which triggers Mule flow whenever a new file is uploaded in a S3 Bucket. It sends metadata of the uploaded file as payload. For this component to work, the S3 Bucket must have a notification configuration attached to it with destination set to an SQS Queue. In the end, we'll look over how to deploy and run such Mulesoft Application locally. Let’s begin... Pre-requisites Anypoint Studio (S3 Connector V6.2.0+) Mulesoft Anypoint Platform Account Private Space in Anypoint Platform AWS...