To use the Amazon SNS connector, add the
<amazonsns.init> element in your configuration before carrying out any other Amazon SNS operations. This uses the standard HTTP Authorization header to pass authentication information. Developers are issued an AWS access key ID and AWS secret access key when they register. For request authentication, the AWSAccessKeyId element identifies the access key ID that was used to compute the signature and, indirectly, the developer making the request.
region:The regional endpoint to make your requests (e.g., us-east-1).
secretAccessKey:The secret access key of the account.
accessKeyId:The access key ID that corresponds to the secret access key that is used to sign the request.
version:The API version that the request is written for.
enableSSL: Optional - Whether the amazon AWS URL should be http or https. Set to
trueif you want the URL to be https.
- disablePort: Optional - By default it set to false and add the port(80/443) in each request. If you want to disable the port, please set it to true
Ensure that the following Axis2 configurations are added and enabled.
Required message formatters
Required message builders
Now that you have connected to Amazon SNS, see the information in the following topics to perform various operations with the connector.