Method: AWS::SNS::Topic#display_name=

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

#display_name=(display_name) ⇒ String

Returns the display_name as passed.

Parameters:

  • display_name (String)

    Sets the human-readable name used in the “From” field for notifications to email and email-json endpoints.

Returns:

  • (String)

    Returns the display_name as passed.



162
163
164
165
# File 'lib/aws/sns/topic.rb', line 162

def display_name= display_name
  set_attribute('DisplayName', display_name)
  display_name
end