Class: Ansible::Ruby::Modules::Sns_topic
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Sns_topic
- 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
-
#delivery_policy ⇒ Hash?
Delivery policy to apply to the SNS topic.
-
#display_name ⇒ String?
Display name of the topic.
-
#name ⇒ String
The name or ARN of the SNS topic to converge.
-
#policy ⇒ Object?
Policy to apply to the SNS topic.
-
#purge_subscriptions ⇒ Boolean?
Whether to purge any subscriptions not listed here.
-
#state ⇒ :absent, ...
Whether to create or destroy an SNS topic.
-
#subscriptions ⇒ Object?
List of subscriptions to apply to the topic.
Methods inherited from Base
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_policy ⇒ Hash?
Returns 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_name ⇒ String?
Returns Display name of the topic.
19 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/sns_topic.rb', line 19 attribute :display_name |
#name ⇒ String
Returns 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 |
#policy ⇒ Object?
Returns 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_subscriptions ⇒ Boolean?
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.
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.
15 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/sns_topic.rb', line 15 attribute :state |
#subscriptions ⇒ Object?
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.
30 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/sns_topic.rb', line 30 attribute :subscriptions |