Create Topic
The CreateTopic activity is used to create the SNS topic. If the topic already exists, then its topicARN is returned.
General
On the General tab, you can select a shared resource to establish a connection to the Amazon server. The following table lists the configurations on the General tab of the CreateTopic activity.
Input
On the Input tab, specify input values for the CreateTopic activity. The following table lists the input elements on the Input tab of the CreateTopic activity.
Input Item | Data Type | Description |
---|---|---|
Name | String | Required. The name of the topic to be created. This name is incorporated into the TopicARN value returned. |
Permissions | Complex | Permissions contribute to the policy for the queue. Permissions control whether queues can be shared with other principles (userIDs). |
Label | String | An arbitrary label for the permission. |
AccountId | Int | One or more Amazon Account IDs for which the permission is to be applied. |
Action | String | One or more actions the client wants to allow for the specified principals. The following values are valid values:
Publish | Subscribe | Receive. |
Output
On the Output tab, find the output value of the CreateTopic activity. The following table lists the output element on the Output tab of the CreateTopic activity.
Fault
The Fault tab lists exceptions that are generated by this activity.
Fault | Data Type | Description |
---|---|---|
SQSException | N/A | Any exception generated by the activity after execution. It has the following fields: ErrorCode and ErrorMessage. |
ErrorCode | String | The plug-in error code for the exception. For more information, see Error Codes topic. |
ErrorMessage | String | The plug-in error message for the exception. It contains the error message from the AWS SQS API call that failed. |