| application_feedback |
Map of IAM role ARNs and sample rate for success and failure feedback |
object({ failure_role_arn = optional(string) success_role_arn = optional(string) success_sample_rate = optional(number) }) |
{} |
no |
| archive_policy |
The message archive policy for FIFO topics |
string |
null |
no |
| content_based_deduplication |
Boolean indicating whether or not to enable content-based deduplication for FIFO topics |
bool |
false |
no |
| create |
Determines whether resources will be created (affects all resources) |
bool |
true |
no |
| create_subscription |
Determines whether an SNS subscription is created |
bool |
true |
no |
| create_topic_policy |
Determines whether an SNS topic policy is created |
bool |
true |
no |
| data_protection_policy |
A map of data protection policy statements |
string |
null |
no |
| delivery_policy |
The SNS delivery policy |
string |
null |
no |
| display_name |
The display name for the SNS topic |
string |
null |
no |
| enable_default_topic_policy |
Specifies whether to enable the default topic policy. Defaults to true |
bool |
true |
no |
| fifo_throughput_scope |
Enables higher throughput for FIFO topics by adjusting the scope of deduplication. This attribute has two possible values, Topic and MessageGroup |
string |
null |
no |
| fifo_topic |
Boolean indicating whether or not to create a FIFO (first-in-first-out) topic |
bool |
false |
no |
| firehose_feedback |
Map of IAM role ARNs and sample rate for success and failure feedback |
object({ failure_role_arn = optional(string) success_role_arn = optional(string) success_sample_rate = optional(number) }) |
{} |
no |
| http_feedback |
Map of IAM role ARNs and sample rate for success and failure feedback |
object({ failure_role_arn = optional(string) success_role_arn = optional(string) success_sample_rate = optional(number) }) |
{} |
no |
| kms_master_key_id |
The ID of an AWS-managed customer master key (CMK) for Amazon SNS or a custom CMK |
string |
null |
no |
| lambda_feedback |
Map of IAM role ARNs and sample rate for success and failure feedback |
object({ failure_role_arn = optional(string) success_role_arn = optional(string) success_sample_rate = optional(number) }) |
{} |
no |
| name |
The name of the SNS topic to create |
string |
null |
no |
| override_topic_policy_documents |
List of IAM policy documents that are merged together into the exported document. In merging, statements with non-blank sids will override statements with the same sid |
list(string) |
[] |
no |
| region |
Region where the resource(s) will be managed. Defaults to the Region set in the provider configuration |
string |
null |
no |
| signature_version |
If SignatureVersion should be 1 (SHA1) or 2 (SHA256). The signature version corresponds to the hashing algorithm used while creating the signature of the notifications, subscription confirmations, or unsubscribe confirmation messages sent by Amazon SNS |
number |
null |
no |
| source_topic_policy_documents |
List of IAM policy documents that are merged together into the exported document. Statements must have unique sids |
list(string) |
[] |
no |
| sqs_feedback |
Map of IAM role ARNs and sample rate for success and failure feedback |
object({ failure_role_arn = optional(string) success_role_arn = optional(string) success_sample_rate = optional(number) }) |
{} |
no |
| subscriptions |
A map of subscription definitions to create |
map(object({ confirmation_timeout_in_minutes = optional(number) delivery_policy = optional(string) endpoint = string endpoint_auto_confirms = optional(bool) filter_policy = optional(string) filter_policy_scope = optional(string) protocol = string raw_message_delivery = optional(bool) redrive_policy = optional(string) replay_policy = optional(string) subscription_role_arn = optional(string) })) |
{} |
no |
| tags |
A map of tags to add to all resources |
map(string) |
{} |
no |
| topic_policy |
An externally created fully-formed AWS policy as JSON |
string |
null |
no |
| topic_policy_statements |
A map of IAM policy statements for custom permission usage |
map(object({ sid = optional(string) actions = optional(list(string)) not_actions = optional(list(string)) effect = optional(string, "Allow") resources = optional(list(string)) not_resources = optional(list(string)) principals = optional(list(object({ type = string identifiers = list(string) }))) not_principals = optional(list(object({ type = string identifiers = list(string) }))) condition = optional(list(object({ test = string variable = string values = list(string) }))) })) |
null |
no |
| tracing_config |
Tracing mode of an Amazon SNS topic. Valid values: PassThrough, Active |
string |
null |
no |
| use_name_prefix |
Determines whether name is used as a prefix |
bool |
false |
no |