- Navigation Guide
@aws-sdk/client-sns
CreateTopicCommandInput Interface
Members
Name | Type | Details |
---|---|---|
Name Required | string | undefined | 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 | Record<string, string> | undefined | 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 :
|
DataProtectionPolicy | string | undefined | 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. |
Tags | Tag[] | undefined | The list of tags to add to a new topic. To be able to tag a topic on creation, you must have the |
Full Signature
export interface CreateTopicCommandInput extends CreateTopicInput