Create Topic
The CreateTopic activity is used to create the SNS topic. If the topic already exists, it's topicARN will be returned.
General
In the General tab, you can select a shared resource to establish a connection to the Amazon server. The following table lists the configurations in the General tab of the CreateTopic activity.
Description
In the Description tab, you can provide a short description of the CreateTopic activity.
Input
In the Input tab, you can specify input values for the CreateTopic activity. The following table lists the input elements in 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
In the Output tab, you can find the output value of the CreateTopic activity. The following table lists the output element in the Output tab of the CreateTopic activity.
Fault
The Fault tab lists exceptions that are generated by this activity.
Fault | Data Type | Description |
---|---|---|
SQSException | 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, refer to 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. |