Method: AWS::SNS::Topic#display_name

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

#display_nameString

Returns the human-readable name used in the “From” field for notifications to email and email-json endpoints. If you have not set the display name the topic #name will be used/returned instead.

Returns:

  • (String)

    Returns the human-readable name used in the “From” field for notifications to email and email-json endpoints. If you have not set the display name the topic #name will be used/returned instead.



154
155
156
# File 'lib/aws/sns/topic.rb', line 154

def display_name
  to_h[:display_name]
end