Class: Ansible::Ruby::Modules::Sns_topic

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

Overview

The M(sns_topic) module allows you to create, delete, and manage subscriptions for AWS SNS topics.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

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

Constructor Details

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

Instance Method Details

#delivery_policyHash?

Returns Delivery policy to apply to the SNS topic.

Returns:

  • (Hash, nil)

    Delivery policy to apply to the SNS topic



26
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/sns_topic.rb', line 26

attribute :delivery_policy

#display_nameString?

Returns Display name of the topic.

Returns:

  • (String, nil)

    Display name of the topic



19
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/sns_topic.rb', line 19

attribute :display_name

#nameString

Returns The name or ARN of the SNS topic to converge.

Returns:

  • (String)

    The name or ARN of the SNS topic to converge



11
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/sns_topic.rb', line 11

attribute :name

#policyObject?

Returns Policy to apply to the SNS topic.

Returns:

  • (Object, nil)

    Policy to apply to the SNS topic



23
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/sns_topic.rb', line 23

attribute :policy

#purge_subscriptionsBoolean?

Returns Whether to purge any subscriptions not listed here. NOTE: AWS does not allow you to purge any PendingConfirmation subscriptions, so if any exist and would be purged, they are silently skipped. This means that somebody could come back later and confirm the subscription. Sorry. Blame Amazon.

Returns:

  • (Boolean, nil)

    Whether to purge any subscriptions not listed here. NOTE: AWS does not allow you to purge any PendingConfirmation subscriptions, so if any exist and would be purged, they are silently skipped. This means that somebody could come back later and confirm the subscription. Sorry. Blame Amazon.



33
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/sns_topic.rb', line 33

attribute :purge_subscriptions

#state:absent, ...

Returns Whether to create or destroy an SNS topic.

Returns:

  • (:absent, :present, nil)

    Whether to create or destroy an SNS topic



15
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/sns_topic.rb', line 15

attribute :state

#subscriptionsObject?

Returns List of subscriptions to apply to the topic. Note that AWS requires subscriptions to be confirmed, so you will need to confirm any new subscriptions.

Returns:

  • (Object, nil)

    List of subscriptions to apply to the topic. Note that AWS requires subscriptions to be confirmed, so you will need to confirm any new subscriptions.



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

attribute :subscriptions