You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::SNS::Types::CreateTopicInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb

Overview

Note:

When making an API call, you may pass CreateTopicInput data as a hash:

{
  name: "topicName", # required
}

Input for CreateTopic action.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

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.

Returns:

  • (String)


278
279
280
281
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 278

class CreateTopicInput < Struct.new(
  :name)
  include Aws::Structure
end