Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex Cloud Notification Service
    • Overview
    • Getting started with mobile push notifications
    • Getting started with in-browser push notifications
    • Getting started with SMS
    • Getting started with topics
    • All guides
      • Creating a topic
      • Creating a subscription to a topic
      • Sending a notification to a topic
      • Managing a topic
      • Managing a subscription
    • Configuring logging
    • Overview
    • Mobile push notifications
    • In-browser push notifications
    • SMS
    • Topics
    • Quotas and limits
    • All tools
    • AWS CLI
    • AWS SDK for C++
    • AWS SDK for Go
    • AWS SDK for Java
    • AWS SDK for JavaScript
    • AWS SDK for Kotlin
    • AWS SDK for .NET
    • AWS SDK for PHP
    • AWS SDK for Python (boto3)
  • Pricing policy
  • Monitoring metrics
  • Logs Cloud Logging
  • Release notes
  1. Step-by-step operations
  2. Topics
  3. Creating a topic

Create topic

Written by
Yandex Cloud
Updated at January 26, 2026
Management console
AWS CLI
AWS SDK for Python
  1. In the management console, select a folder.
  2. Go to Cloud Notification Service.
  3. Select Topics on the left.
  4. Click Create topic.
  5. Enter a name for the topic. The name must be unique within Cloud Notification Service.
  6. Under Logging, enable the Write logs option.
  7. In the Folder list, select a folder to house the log group.
  8. In the Log group field, select an existing log group or create a new one.
  9. Click Create topic.
  1. If you do not have the AWS CLI yet, install and configure it.

  2. Run this command:

    aws sns create-topic --name <topic_name>
    

    Where name is topic name, which can be any name unique within Cloud Notification Service.

    For more information about the aws sns create-topic command, see the AWS documentation.

  1. If you do not have the AWS SDK for Python (boto3) yet, install and configure it.

  2. Use the following code to create a topic:

    response = client.create_topic(
        Name="<topic_name>"
    )
    
    print (f"Topic ARN:", response['TopicArn'])
    

    Where:

    • Name: Topic name, which can be any name unique within Cloud Notification Service.

Once you create a topic, you cannot change its name. To add endpoints to a topic, create subscriptions.

Was the article helpful?

Previous
Exiting the sandbox
Next
Creating a subscription to a topic
© 2026 Direct Cursus Technology L.L.C.