You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description="The Amazon Resource Name (ARN) associated with the role that is used for target invocation."
37
+
}
38
+
39
+
variable"is_enabled" {
40
+
type=bool
41
+
default=true
42
+
description="Whether the rule should be enabled (defaults to true)."
43
+
}
44
+
45
+
variable"target_id" {
46
+
type=string
47
+
default="SendToSNS"
48
+
description="The Amazon Resource Name (ARN) associated with the role that is used for target invocation."
49
+
}
50
+
51
+
variable"arn" {
52
+
type=string
53
+
default=""
54
+
description="The Amazon Resource Name (ARN) associated with the role that is used for target invocation."
55
+
}
56
+
57
+
variable"input_path" {
58
+
type=string
59
+
default=""
60
+
description="The value of the JSONPath that is used for extracting part of the matched event when passing it to the target."
61
+
}
62
+
63
+
variable"target_role_arn" {
64
+
type=string
65
+
default=""
66
+
description="The Amazon Resource Name (ARN) of the IAM role to be used for this target when the rule is triggered. Required if ecs_target is used."
67
+
}
68
+
69
+
variable"input_paths" {
70
+
type=map(any)
71
+
default={}
72
+
description="Key value pairs specified in the form of JSONPath (for example, time = $.time)"
73
+
74
+
}
75
+
76
+
variable"sns_name" {
77
+
type=string
78
+
default=""
79
+
description="Name (e.g. `app` or `cluster`)."
80
+
}
81
+
82
+
variable"subscribers" {
83
+
type=map(object({
84
+
protocol =string
85
+
# The protocol to use. The possible values for this are: sqs, sms, lambda, application. (http or https are partially supported, see below) (email is an option but is unsupported, see below).
86
+
endpoint =string
87
+
# The endpoint to send data to, the contents will vary with the protocol. (see below for more information)
88
+
endpoint_auto_confirms =bool
89
+
# Boolean indicating whether the end point is capable of auto confirming subscription e.g., PagerDuty (default is false)
90
+
raw_message_delivery =bool
91
+
# Boolean indicating whether or not to enable raw message delivery (the original message is directly passed, not wrapped in JSON with the original message in the message property) (default is false)
92
+
}))
93
+
description="Required configuration for subscibres to SNS topic."
description="AWS services that will have permission to publish to SNS topic. Used when no external JSON policy is used"
100
+
default=[]
101
+
}
102
+
103
+
variable"kms_master_key_id" {
104
+
type=string
105
+
description="The ID of an AWS-managed customer master key (CMK) for Amazon SNS or a custom CMK."
106
+
default="alias/aws/sns"
107
+
}
108
+
109
+
variable"encryption_enabled" {
110
+
type=bool
111
+
description="Whether or not to use encryption for SNS Topic. If set to `true` and no custom value for KMS key (kms_master_key_id) is provided, it uses the default `alias/aws/sns` KMS key."
112
+
default=true
113
+
}
114
+
115
+
variable"sqs_queue_kms_master_key_id" {
116
+
type=string
117
+
description="The ID of an AWS-managed customer master key (CMK) for Amazon SQS Queue or a custom CMK"
description="The length of time, in seconds, for which Amazon SQS can reuse a data key to encrypt or decrypt messages before calling AWS KMS again"
124
+
default=300
125
+
}
126
+
127
+
variable"allowed_iam_arns_for_sns_publish" {
128
+
type=list(string)
129
+
description="IAM role/user ARNs that will have permission to publish to SNS topic. Used when no external json policy is used."
130
+
default=[]
131
+
}
132
+
133
+
variable"sns_topic_policy_json" {
134
+
type=string
135
+
description="The fully-formed AWS policy as JSON"
136
+
default=""
137
+
}
138
+
139
+
variable"sqs_dlq_enabled" {
140
+
type=bool
141
+
description="Enable delivery of failed notifications to SQS and monitor messages in queue."
142
+
default=false
143
+
}
144
+
145
+
variable"sqs_dlq_max_message_size" {
146
+
type=number
147
+
description="The limit of how many bytes a message can contain before Amazon SQS rejects it. An integer from 1024 bytes (1 KiB) up to 262144 bytes (256 KiB). The default for this attribute is 262144 (256 KiB)."
148
+
default=262144
149
+
}
150
+
151
+
variable"sqs_dlq_message_retention_seconds" {
152
+
type=number
153
+
description="The number of seconds Amazon SQS retains a message. Integer representing seconds, from 60 (1 minute) to 1209600 (14 days)."
154
+
default=1209600
155
+
}
156
+
157
+
variable"delivery_policy" {
158
+
type=string
159
+
description="The SNS delivery policy as JSON."
160
+
default=null
161
+
}
162
+
163
+
variable"fifo_topic" {
164
+
type=bool
165
+
description="Whether or not to create a FIFO (first-in-first-out) topic"
166
+
default=false
167
+
}
168
+
169
+
variable"fifo_queue_enabled" {
170
+
type=bool
171
+
description="Whether or not to create a FIFO (first-in-first-out) queue"
172
+
default=false
173
+
}
174
+
175
+
variable"content_based_deduplication" {
176
+
type=bool
177
+
description="Enable content-based deduplication for FIFO topics"
178
+
default=false
179
+
}
180
+
181
+
variable"redrive_policy_max_receiver_count" {
182
+
type=number
183
+
description="The number of times a message is delivered to the source queue before being moved to the dead-letter queue. When the ReceiveCount for a message exceeds the maxReceiveCount for a queue, Amazon SQS moves the message to the dead-letter-queue."
184
+
default=5
185
+
}
186
+
187
+
variable"redrive_policy" {
188
+
type=string
189
+
description="The SNS redrive policy as JSON. This overrides `var.redrive_policy_max_receiver_count` and the `deadLetterTargetArn` (supplied by `var.fifo_queue = true`) passed in by the module."
0 commit comments