Class: Ansible::Ruby::Modules::Sns

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/amazon/sns.rb

Overview

The C(sns) module sends notifications to a topic on your Amazon SNS account

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#aws_access_keyObject?

Returns AWS access key. If not set then the value of the AWS_ACCESS_KEY environment variable is used.

Returns:

  • (Object, nil)

    AWS access key. If not set then the value of the AWS_ACCESS_KEY environment variable is used.



43
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/sns.rb', line 43

attribute :aws_access_key

#aws_secret_keyObject?

Returns AWS secret key. If not set then the value of the AWS_SECRET_KEY environment variable is used.

Returns:

  • (Object, nil)

    AWS secret key. If not set then the value of the AWS_SECRET_KEY environment variable is used.



40
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/sns.rb', line 40

attribute :aws_secret_key

#emailObject?

Returns Message to send to email-only subscription.

Returns:

  • (Object, nil)

    Message to send to email-only subscription



24
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/sns.rb', line 24

attribute :email

#httpObject?

Returns Message to send to HTTP-only subscription.

Returns:

  • (Object, nil)

    Message to send to HTTP-only subscription



34
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/sns.rb', line 34

attribute :http

#httpsObject?

Returns Message to send to HTTPS-only subscription.

Returns:

  • (Object, nil)

    Message to send to HTTPS-only subscription



37
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/sns.rb', line 37

attribute :https

#message_attributesHash?

Returns Dictionary of message attributes. These are optional structured data entries to be sent along to the endpoint.,This is in AWS’s distinct Name/Type/Value format; see example below.

Returns:

  • (Hash, nil)

    Dictionary of message attributes. These are optional structured data entries to be sent along to the endpoint.,This is in AWS’s distinct Name/Type/Value format; see example below.



49
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/sns.rb', line 49

attribute :message_attributes

#message_structure:json, :string

Returns The payload format to use for the message.,This must be ‘json’ to support non-default messages (‘http`, `https`, `email`, `sms`, `sqs`). It must be ’string’ to support message_attributes.

Returns:

  • (:json, :string)

    The payload format to use for the message.,This must be ‘json’ to support non-default messages (‘http`, `https`, `email`, `sms`, `sqs`). It must be ’string’ to support message_attributes.



53
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/sns.rb', line 53

attribute :message_structure

#msgString

Returns Default message to send.

Returns:

  • (String)

    Default message to send.



12
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/sns.rb', line 12

attribute :msg

#regionObject?

Returns The AWS region to use. If not specified then the value of the EC2_REGION environment variable, if any, is used.

Returns:

  • (Object, nil)

    The AWS region to use. If not specified then the value of the EC2_REGION environment variable, if any, is used.



46
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/sns.rb', line 46

attribute :region

#smsString?

Returns Message to send to SMS-only subscription.

Returns:

  • (String, nil)

    Message to send to SMS-only subscription



30
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/sns.rb', line 30

attribute :sms

#sqsObject?

Returns Message to send to SQS-only subscription.

Returns:

  • (Object, nil)

    Message to send to SQS-only subscription



27
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/sns.rb', line 27

attribute :sqs

#subjectString?

Returns Subject line for email delivery.

Returns:

  • (String, nil)

    Subject line for email delivery.



16
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/sns.rb', line 16

attribute :subject

#topicString

Returns The topic you want to publish to.

Returns:

  • (String)

    The topic you want to publish to.



20
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/sns.rb', line 20

attribute :topic