Key |
Returned |
Description |
sns_arn
string
|
always |
The ARN of the topic you are modifying
Sample:
arn:aws:sns:us-east-2:111111111111:my_topic_name
|
sns_topic
complex
|
always |
Dict of sns topic details
|
|
attributes_set
list
|
always |
list of attributes set during this run
|
|
check_mode
bool
|
always |
whether check mode was on
|
|
delivery_policy
string
|
when topic is owned by this AWS account |
Delivery policy for the SNS topic
Sample:
{"http":{"defaultHealthyRetryPolicy":{"minDelayTarget":20,"maxDelayTarget":20,"numRetries":3,"numMaxDelayRetries":0, "numNoDelayRetries":0,"numMinDelayRetries":0,"backoffFunction":"linear"},"disableSubscriptionOverrides":false}}
|
|
display_name
string
|
when topic is owned by this AWS account |
Display name for SNS topic
Sample:
My topic name
|
|
name
string
|
always |
Topic name
Sample:
ansible-test-dummy-topic
|
|
owner
string
|
when topic is owned by this AWS account |
AWS account that owns the topic
Sample:
111111111111
|
|
policy
string
|
when topic is owned by this AWS account |
Policy for the SNS topic
Sample:
{"Version":"2012-10-17","Id":"SomePolicyId","Statement":[{"Sid":"ANewSid","Effect":"Allow","Principal":{"AWS":"arn:aws:iam::111111111111:root"}, "Action":"sns:Subscribe","Resource":"arn:aws:sns:us-east-2:111111111111:ansible-test-dummy-topic","Condition":{"StringEquals":{"sns:Protocol":"email"}}}]}
|
|
state
string
|
always |
whether the topic is present or absent
Sample:
present
|
|
subscriptions
list
|
always |
List of subscribers to the topic in this AWS account
|
|
subscriptions_added
list
|
always |
List of subscribers added in this run
|
|
subscriptions_confirmed
list
|
when topic is owned by this AWS account |
Count of confirmed subscriptions
|
|
subscriptions_deleted
list
|
when topic is owned by this AWS account |
Count of deleted subscriptions
|
|
subscriptions_existing
list
|
always |
List of existing subscriptions
|
|
subscriptions_new
list
|
always |
List of new subscriptions
|
|
subscriptions_pending
string
|
when topic is owned by this AWS account |
Count of pending subscriptions
Sample:
0
|
|
subscriptions_purge
bool
|
always |
Whether or not purge_subscriptions was set
Sample:
True
|
|
topic_arn
string
|
when topic is owned by this AWS account |
ARN of the SNS topic (equivalent to sns_arn)
Sample:
arn:aws:sns:us-east-2:111111111111:ansible-test-dummy-topic
|
|
topic_created
bool
|
always |
Whether the topic was created
|
|
topic_deleted
bool
|
always |
Whether the topic was deleted
|