health-events
cloudposse/health-events/aws
Terraform module to configure AWS EventBridge Rules and SNS Notifications for AWS Personal Health Dashboard
terraform-aws-health-events    [![README Header][readme_header_img]][readme_header_link] [![Cloud Posse][logo]](https://cpco.io/homepage) This module creates EventBridge (formerly CloudWatch Events) rules for AWS Personal Health Dashboard Events and an SNS topic. EventBridge will publish messages to this SNS topic, which can be subcribed to using this module as well. Since AWS Personal Health Dashboard is a global service, but since the KMS key and SNS topic are regional, this module is technically regional but only needs to be deployed once per account. --- This project is part of our comprehensive "SweetOp
| Name | Type | Description | Default |
|---|---|---|---|
| kms_master_key_id | string | The ID or alias of the customer master key (CMK) to use for encrypting the Ama | required |
| enabled | bool | Set to false to prevent the module from creating any resources | required |
| delimiter | string | Delimiter to be used between `namespace`, `environment`, `stage`, `name` and `at | required |
| label_key_case | string | The letter case of label keys (`tag` names) (i.e. `name`, `namespace`, `environm | required |
| event_rules | list(object({ name | A list of Event Rules to use when creating EventBridge Rules for the AWS Persona | required |
| namespace | string | Namespace, which could be your organization name or abbreviation, e.g. 'eg' or ' | required |
| environment | string | Environment, e.g. 'uw2', 'us-west-2', OR 'prod', 'staging', 'dev', 'UAT' | required |
| stage | string | Stage, e.g. 'prod', 'staging', 'dev', OR 'source', 'build', 'test', 'deploy', 'r | required |
| name | string | Solution name, e.g. 'app' or 'jenkins' | required |
| label_order | list(string) | The naming order of the id output and Name tag. Defaults to ["namespace", "envir | required |
| regex_replace_chars | string | Regex to replace chars with empty string in `namespace`, `environment`, `stage` | required |
| id_length_limit | number | Limit `id` to this many characters (minimum 6). Set to `0` for unlimited length. | required |
| label_value_case | string | The letter case of output label values (also used in `tags` and `id`). Possible | required |
| tags | map(string) | Additional tags (e.g. `map('BusinessUnit','XYZ')` | {} |
| subscribers | map(object({ protocol = st | Required configuration for subscribers to SNS topic. | {} |
| context | any | Single object for setting entire context at once. See description of individual | {
"additional_tag_map": {},
"attribu |
| attributes | list(string) | Additional attributes (e.g. `1`) | [] |
| additional_tag_map | map(string) | Additional tags for appending to tags_as_list_of_maps. Not added to `tags`. | {} |
event_rule_names — The names of the created EventBridge Rules.event_rule_arns — The ARNs of the created EventBridge Rules.