View source: R/sns_operations.R
sns_create_topic | R Documentation |
Creates a topic to which notifications can be published. Users can create at most 100,000 standard topics (at most 1,000 FIFO topics). For more information, see Creating an Amazon SNS topic in the Amazon SNS Developer Guide. This action is idempotent, so if the requester already owns a topic with the specified name, that topic's ARN is returned without creating a new topic.
See https://www.paws-r-sdk.com/docs/sns_create_topic/ for full documentation.
sns_create_topic(
Name,
Attributes = NULL,
Tags = NULL,
DataProtectionPolicy = NULL
)
Name |
[required] The name of the topic you want to create. Constraints: Topic names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, and hyphens, and must be between 1 and 256 characters long. For a FIFO (first-in-first-out) topic, the name must end with the
|
Attributes |
A map of attributes with their corresponding values. The following lists names, descriptions, and values of the special
request parameters that the
The following attribute applies only to server-side encryption:
The following attributes apply only to FIFO topics:
|
Tags |
The list of tags to add to a new topic. To be able to tag a topic on creation, you must have the
|
DataProtectionPolicy |
The body of the policy document you want to use for this topic. You can only add one policy per topic. The policy must be in JSON string format. Length Constraints: Maximum length of 30,720. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.