Amazon SNS Design Center Configuration - Mule 4
Anypoint Design Center’s Flow Designer enables you to create apps visually. To use Flow Designer, 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 Flow Designer:
Configure the input source (trigger) for your app.
Configure the target component for your app.
For information about the connector field values, see the Amazon SNS Connector Reference.
A trigger starts your app. You can use the HTTP Listener operation to start your app from a browser or the
Scheduler to start your app on a timed schedule. Anypoint Connector for SNS (Amazon SNS Connector) does not provide trigger operations.
In Design Center, click Create.
Click Create new application to open Flow Designer.
Specify a value for Project name, and click Create.
Click Go straight to canvas to exit Let’s get started.
Click on the trigger card.
If you are using the HTTP Listener operation as a trigger, search for and select HTTP Listener.
In the HTTP Listener’s General tab, enter the path-absolute-URL that defines the resource location.
Click off the trigger card.
Design Center automatically saves all changes.
The target component enables your app to process data received from the trigger. Amazon SNS Connector provides operations that help you integrate Amazon SNS with third party applications and services. For example, this integration enables you to create connectivity and deliver notifications and messages to SQS queues and HTTP endpoints.
Click + next to the trigger card.
In Select a component, search for the connector name.
Select the connector name.
Select an operation for the connector, such as Get Topic Attributes.
If needed, specify values that are required in the General tab. For the Get Topic Attributes operation, enter the name of the Amazon resource whose properties you want to get in the Topic Arn field.
Select Click here to set it up to set up other required fields.
For the Get Topic Attributes operation, the required fields are:
Name used to reference the configuration
Connection type (
Alphanumeric text string that uniquely identifies the user who owns the account
Key that plays the role of a password
Roleconnection type) Amazon resource name of the role used to get account access
Session token provided by AWS Security Token Service (STS)
Topic used to test the connection