Method: AWS::SNS::Topic#initialize

Defined in:
lib/aws/sns/topic.rb

#initialize(arn, options = {}) ⇒ Topic

Returns a new instance of Topic.

Parameters:

  • arn (String)

    The topic ARN.



24
25
26
27
# File 'lib/aws/sns/topic.rb', line 24

def initialize arn, options = {}
  @arn = arn
  super
end