Contact Free trial Login

Amazon S3 Design Center Configuration - Mule 4

Design Center enables you to create apps visually. To use Design Center, work with your Anypoint Platform administrator to ensure that you have a Design environment. For more information, see the Flow Designer Tour.

To create an app in Design Center:

  • Configure the input source (trigger) for your app.

  • Add the connector as a component to process the input for the app.

For information about Amazon S3 fields, see the Amazon S3 Connector Reference.

Configure the Input Source Trigger

To configure a trigger:

  1. In Design Center, click Create.

  2. Click Create new application.

  3. Specify a value for Project name, and click Create.

  4. Exit from Let’s get started by clicking Go straight to canvas.

  5. Click on the Trigger card.

  6. Configure the trigger.

    You can use the following items as a trigger:

    • The connector’s On Deleted Object operation to initiate access to your app when an Amazon S3 object is deleted.

    • The connector’s On New Object operation to initiate access to your app when an Amazon S3 object is created.

    • HTTP Connector to initiate access to your app when the HTTP Listener accepts a request from a browser or application, such as Postman or CURL.

    • scheduler to initiate access your app at a specific time.

If you use an Amazon S3 connector’s operation as a trigger, enter the name of the Amazon S3 bucket associated with the operation in the Bucket field on the General tab.

Configure the Target Component

  1. Click “+” next to the trigger card.

  2. In Select a component, search for and select the connector name.

  3. Select an operation for the connector.

  4. Enter the required values in the General tab.

  5. If you are:

    • Using the default Amazon S3 storage, leave the default entries for the Proxy and the Advanced tabs.

    • Connecting to a different storage than the default AWS S3, specify its URL in the the Advanced tab’s S3 Compatible Storage URL field.

  6. If needed, enter values for other tabs.

  7. Specify access information to the connector resource, as described below.

  8. Click Test to test the connection.

    Validating a connection with Test Connection requires that you have permission in AWS IAM to the action s3:ListAllMyBuckets. If you don’t have this permission, the test fails. However, you can still use the connector and the operations to which you have access.

    Access to operations on Amazon S3 is further controlled through policies. It is not always possible to validate your credentials before the exact operation for which you have access completes. This can vary based on the bucket name and other parameters. For example, the test connection can fail if your credentials have a restricted policy.

Basic Connection Type

Complete the following fields for the Basic connection type:

Parameter Description

Configuration Name

Name used to reference the connector instance

Access Key

Alphanumeric text string that uniquely identifies the user who owns the AWS account

Secret Key

Key that plays the role of a password

Try Default AWS Credentials Provider Chain

(Optional) Indicates whether to use temporary credentials

Region Endpoint

URL entry point for a web service

Role Connection Type

Complete the following fields for the Role connection type:

Parameter Description

Configuration Name

Name used to reference the connector instance

Access Key

Alphanumeric text string that uniquely identifies the user who owns the AWS account

Secret Key

Key that plays the role of a password

Try Default AWS Credentials Provider Chain

(Optional) Indicates whether to use temporary credentials

Region Endpoint

URL entry point for a web service

Role ARN

ARN (Amazon Resources Name) that uniquely identifies AWS resources

Next Step

After configuring the connector in Design Center, see the Additional Configuration Information topic for more configuration steps.

We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.