sns_topic_info
Gather SNS topics, attributes and subscriptions
Collection: community.aws
Full Name: community.aws.sns_topic_info
Synopsis
Gather SNS topics, attributes and subscriptions
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_key | str | |||
| aws_ca_bundle | path | |||
| aws_config | dict | |||
| debug_botocore_endpoint_logs | bool | false | ||
| endpoint_url | str | |||
| profile | str | |||
| region | str | |||
| secret_key | str | |||
| session_token | str | |||
| topic_arn | str | |||
| validate_certs | bool | true |
Example
yaml
- name: list all the topics
community.aws.sns_topic_info:
register: sns_topic_list
- name: get info on specific topic
community.aws.sns_topic_info:
topic_arn: "{{ sns_arn }}"
register: sns_topic_info