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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
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 'lib/aws-sdk-sns/types.rb', line 278

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