# AWS Health

## Overview <a href="#overview" id="overview"></a>

AWS Health provides ongoing visibility into your resource performance and the availability of your AWS services. The AWS Health delivers alerts and notifications triggered by changes in the health of AWS resources.

## Use Cases <a href="#use-cases" id="use-cases"></a>

The integration between Fylamynt and AWS Health lets you:

* Trigger a workflow in Fylamynt on a specific AWS Health Alert

#### Configure AWS Health in Fylamynt <a href="#configure-aws-health-in-fylamynt" id="configure-aws-health-in-fylamynt"></a>

* Navigate to **Settings** -> **Integrations** -> **AWS Health**.

#### Instructions to setup AWS Health Integration <a href="#instructions-to-setup-aws-health-integration" id="instructions-to-setup-aws-health-integration"></a>

Follow the steps listed below on your **AWS Account** to get the desired parameters to enter in **Fylamynt**.

* Go to **Amazon EventBridge** --> **Create Rule**
* Enter a name for the new rule
* *Define pattern:*
  * Select **Event pattern**&#x20;
  * Select **Pre-defined pattern by service** as the Event matching pattern
  * Select **AWS** as the Service Provider
  * Select **Health** as the Service Name
  * Select **All Events** for Event type
  * ![](https://2168485084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXYvxfYq9m2JdKqaCdk%2Fuploads%2FhDFeOvVccn3m35JTTpoY%2Fimage.png?alt=media\&token=d317bb15-50e8-48b1-b076-857b32b5aa44)
* *Select event bus:*
  * Select **AWS default event bus**
  * ![](https://2168485084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXYvxfYq9m2JdKqaCdk%2Fuploads%2FKMTtb2f7HuQydVKvquAp%2Fimage.png?alt=media\&token=211d5575-7dea-47be-946a-8f61f07e2fb9)
* *Select targets:*
  * Select **API destination** as the Target
  * Select **Create a new API destination**
    * Enter a name for the destination eg. "Fylamynt"
    * On the Authorize Fylamynt card on the integration settings page, **copy** the **Webhook URL**
    * ![](https://2168485084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXYvxfYq9m2JdKqaCdk%2Fuploads%2FcMUVc8mht7UWzUa67AsJ%2Fimage.png?alt=media\&token=a1425f30-8e1f-43fb-9270-411daffae19d)
    * **Paste** the copied Webhook URL into the **API destination endpoint** field
  * Select **Post** as the HTTP method
  * Select **Create a new connection**
    * Enter a **name** for the connection
    * Select **API Key** as the Authorization type
    * Instructions to get Fylamynt **Webhook API Key value:**
      * On the Authorize Fylamynt card on the integration settings page, choose a **Webhook API Key Name** from the dropdown, and a corresponding **Webhook API Key Value** should be provided.&#x20;
      * If no dropdown options are available for the **Webhook API Key Name**, first go to **Settings** --> **Resources** -> [**API Keys**](https://app.fylamynt.com/settings/apikeys) to Create a New API Key. &#x20;
        * [API keys documentation](https://docs.fylamynt.com/resources/api-keys)&#x20;
    * Enter **x-api-key** as the API key name
    * On the Authorize Fylamynt card on the integration settings page, **copy** the **Webhook API Key Value**
    * ![](https://2168485084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXYvxfYq9m2JdKqaCdk%2Fuploads%2FkWyJCXi5iOFvdBljW7vP%2Fimage.png?alt=media\&token=313d8b5b-85d8-4ccb-a06b-9a0f39a7a5da)
    * **Paste** the copied Webhook API Key Value into the **Value** field
  * Configure input as **Matched events**
  * Create a new role for EventBridge permissions to invoke API destinations
    * Leave the default name
  * ![](https://2168485084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXYvxfYq9m2JdKqaCdk%2Fuploads%2FTRu34mcomlTiPWQf8RLO%2Fawshealth-eventbridge.png?alt=media\&token=aead2653-232e-493c-bb03-9577aadfc376)
* Optionally, add tags
* Click **Create**
* On the Authorize Fylamynt card on the integration settings page, select **Authorize**&#x20;

## Integration Actions <a href="#integration-actions" id="integration-actions"></a>

You can add the following actions in the Fylamynt workflow builder, as part of your workflow.

1. [AWS Health Alert Trigger](#aws-health-alert-trigger)

### **AWS Health Alert Trigger**

The integration node triggers the automatic execution of a workflow from a combined selection of an **AWS Health Service**, **Event Type Category**, and **Event Type Code**.

When creating a workflow, you are presented with a wizard to select the trigger type to use.

* On the workflow page, select **New Workflow**
* Enter the name of the Workflow.
* Select the **AWS Health** trigger type.
* Click **Create Workflow**
* ![](https://2168485084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXYvxfYq9m2JdKqaCdk%2Fuploads%2FB7HbMBMad34HDwtKgRdX%2Fimage.png?alt=media\&token=1aa6484f-4110-46ea-b9ae-62e06ad991ef)

#### Configure the automatic execution of a workflow <a href="#fylamynt-task-management" id="fylamynt-task-management"></a>

To automatically run workflows with the AWS Health Alert trigger, the incident type and assignment need to be configured. Follow the step-by-step instructions provided on the[ Incident Management - Automatic workflow execution](https://docs.fylamynt.com/getting-started-1/7.-incident-management-automatic-workflow-execution) page.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fylamynt.com/integrations/aws_health.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
