Contact Us 1-800-596-4880

Amazon SNS Studio Configuration - Mule 4

To install and configure Anypoint Connector for Amazon SNS (Amazon SNS Connector) in Anypoint Studio:

  1. Install the connector.

  2. Configure an input source for the connector.

  3. Configure the connector.

Install the Connector in Studio Using Exchange

  1. In Studio, create a Mule project.

  2. Click the Exchange (X) icon in the Studio task bar.

  3. In Exchange, click Login and supply your Anypoint Platform username and password.

  4. In Exchange, search for Amazon SNS Connector.

  5. Select Amazon SNS Connector and click Add to project.

  6. Follow the prompts to install the connector.

Install the Connector in Studio

  1. In Studio, create a Mule Project.

  2. In the Mule Palette, click (X) Search in Exchange.

  3. In Add Modules to Project, type the name of the connector in the search field.

  4. Click the connector name in Available modules.

  5. Click Add.

  6. Click Finish.

Configure an Input Source

Configure an input source for the connector, such as an HTTP Listener or Scheduler.

Configure the Connector

To use Amazon SNS Connector in your Mule app, configure a global Amazon SNS element that can be used by all Amazon SNS Connectors in the application.

  1. Drag a connector operation into the Studio canvas.

  2. Click the Global Elements tab at the base of the canvas, and then click Create.

  3. In the Choose Global Type window, expand Connector Configuration, and click Amazon SNS configuration:

    Global Element Configuration Wizard
  4. Click OK.

  5. Specify the global element properties:

    Global Element Properties
  6. Configure the parameters as follows:

    Parameter Description

    Name

    Name by which the configuration is referenced

    Session Token

    Session token provided by AWS Security Token Service (STS)

    Test Topic

    Topic used to test the connection

    Access Key

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

    Secret Key

    Key that plays the role of a password

    Try Default AWS Credentials Provider Chain

    Checkbox that controls whether temporary credentials should be used

    Region Endpoint

    Topic region endpoint

    Globally Defined Default Topic Arn

    Topic ARN to test the connectivity

  7. Retain the default entries for the Proxy, Security, and Advanced tabs.

  8. Click Test Connection to confirm that the parameters of your global configuration are accurate, and that Mule is able to successfully connect to your instance of Amazon SNS.

  9. Click OK.

View on GitHub