Amazon SNS policy

An Amazon SNS policy contains the connection details that are used by an Amazon SNS Request node when it connects to an Amazon SNS application.

You can use anAmazon SNS Request node in a message flow to connect IBM® App Connect Enterprise to Amazon SNS applications and issue requests to perform actions on objects such as subscription, tags, and topics. The Amazon SNS policy controls, at run time, the access to the Amazon SNS application.

The Amazon SNS policy is created when you configure a connection between an Amazon SNS Request node and Amazon SNS by using the Connector Discovery wizard. During the process of discovery, account credentials are stored in the vault and connection details are stored in an Amazon SNS policy. The policy is created with a type of Amazon SNS, and the name of the policy is returned to the Amazon SNS Request node and specified in the Connection tab of the node, in the format {policyProjectName}:policyName.

You can also create, update, or delete an Amazon SNS policy by using the Manage Discovery Connector Policies and Credentials wizard, which you can access by right-clicking the policy project in the IBM App Connect Enterprise Toolkit and then clicking New > Discovery Connector policies and credentials.

You must deploy this policy before message flows that use the policy are started. If you redeploy an Amazon SNS policy, all message flows that are using the policy are stopped and restarted.

For more information about using Amazon SNS policies, see Using Amazon SNS with IBM App Connect Enterprise.

Table 1. Properties of the Amazon SNS policy.
Property Property name in .policyxml file Description of properties
Amazon SNS Application Type applicationType This property is reserved for future use and must be set to the value online.
Amazon SNS Application Version applicationVersion This property is reserved for future use and must be set to the value v1.
Amazon SNS Authentication method authenticationMethod This property is reserved for future use and must be set to the value BASIC.
Region region This property specifies the region of the Amazon SNS instance (if any) that you specified in the Region property during connector discovery.
Credential Name credentialName This property specifies the name of the credential that is used for the connection to Amazon SNS.

The specified credential can be defined during connector discovery and stored in the vault. Alternatively, you can specify an existing credential that was configured by using the mqsicredentials command or the server.conf.yaml file, or loaded through an external credential provider.