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

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

Overview

The C(sns_topic) module allows you to create, delete, and manage subscriptions for AWS SNS topics. As of 2.6, this module can be use to subscribe and unsubscribe to topics outside of your AWS 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

#delivery_policyHash?

Returns Delivery policy to apply to the SNS topic.

Returns:

  • (Hash, nil)

    Delivery policy to apply to the SNS topic



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

attribute :delivery_policy

#display_nameString?

Returns Display name of the topic.

Returns:

  • (String, nil)

    Display name of the topic



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

attribute :display_name

#nameString

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

Returns:

  • (String)

    The name or ARN of the SNS topic to manage



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

attribute :name

#policyObject?

Returns Policy to apply to the SNS topic.

Returns:

  • (Object, nil)

    Policy to apply to the SNS topic



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

attribute :policy

#purge_subscriptionsString?

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:

  • (String, 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.



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

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



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

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.



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

attribute :subscriptions