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
| <aname="input_monitors"></a> [monitors](#input\_monitors)| A collection of cost anomaly monitors to create | <pre>list(object({<br> name = string<br> # The name of the monitor <br> monitor_type = optional(string, "DIMENSIONAL")<br> # The type of monitor to create <br> monitor_dimension = optional(string, "DIMENSIONAL")<br> # The dimension to monitor<br> monitor_specification = optional(string, null)<br> # The specification to monitor <br> notify = optional(object({<br> frequency = string<br> # The frequency of notifications<br> threshold_expression = optional(any, null)<br> # The threshold expression to use for notifications<br> }), {<br> frequency = "DAILY"<br> })<br> }))</pre> | n/a | yes |
72
-
| <aname="input_notifications"></a> [notifications](#input\_notifications)| The configuration of the notification | <pre>object({<br> email = optional(object({<br> addresses = list(string)<br> }), null)<br> slack = optional(object({<br> channel = optional(string, null)<br> # The channel name for notifications, required if secret_name is not provided<br> secret_name = optional(string, null)<br> # An optional secret name in the AWS Secrets Manager, containing this information <br> lambda_name = optional(string, "cost-anomaly-notification")<br> # The name of the Lambda function to use for notifications <br> username = optional(string, "AWS Cost Anomaly Detection")<br> # The username to use for notifications<br> webhook_url = optional(string, null)<br> # The URL of the Slack webhook to use for notifications, required if secret_name is not provided<br> }), null)<br> })</pre> | n/a | yes |
72
+
| <aname="input_notifications"></a> [notifications](#input\_notifications)| The configuration of the notification | <pre>object({<br> email = optional(object({<br> addresses = list(string)<br> }), null)<br> slack = optional(object({<br> secret_name = optional(string, null)<br> # An optional secret name in the AWS Secrets Manager, containing this information <br> lambda_name = optional(string, "cost-anomaly-notification")<br> # The name of the Lambda function to use for notifications <br> webhook_url = optional(string, null)<br> # The URL of the Slack webhook to use for notifications, required if secret_name is not provided<br> }), null)<br> })</pre> | n/a | yes |
73
73
| <aname="input_tags"></a> [tags](#input\_tags)| A map of tags to add to all resources |`map(string)`| n/a | yes |
74
+
| <aname="input_accounts_id_to_name"></a> [accounts\_id\_to\_name](#input\_accounts\_id\_to\_name)| A mapping of account id and account name - used by notification lamdba to map an account ID to a human readable name |`map(string)`|`null`| no |
74
75
| <aname="input_enable_notification_creation"></a> [enable\_notification\_creation](#input\_enable\_notification\_creation)| Indicates whether to create a notification lambda stack, default is true, but useful to toggle if using existing resources |`bool`|`true`| no |
75
76
| <aname="input_enable_sns_topic_creation"></a> [enable\_sns\_topic\_creation](#input\_enable\_sns\_topic\_creation)| Indicates whether to create an SNS topic within this module |`bool`|`true`| no |
76
77
| <aname="input_sns_topic_arn"></a> [sns\_topic\_arn](#input\_sns\_topic\_arn)| The ARN of an existing SNS topic for notifications |`string`|`null`| no |
| <aname="input_notification_secret_name"></a> [notification\_secret\_name](#input\_notification\_secret\_name)| The name of the secret that contains the notification configuration |`string`| n/a | yes |
34
33
| <aname="input_notification_email_addresses"></a> [notification\_email\_addresses](#input\_notification\_email\_addresses)| The list of email addresses to notify |`list(string)`|`[]`| no |
34
+
| <aname="input_notification_secret_name"></a> [notification\_secret\_name](#input\_notification\_secret\_name)| The name of the secret that contains the notification configuration |`string`| n/a | yes |
35
35
| <aname="input_tags"></a> [tags](#input\_tags)| A map of tags to add to the resources |`map(string)`|`{}`| no |
0 commit comments