---
title: Configuring Element Types
slug: kronpam-reference-guide-3-5-0/9Dk6-configuring-element-types
description: Learn how to define a new Element Type for Kron PAM to automatically detect operating systems (OS). This document provides step-by-step instructions for importing AWS devices and creating a specific OS Element Type. Discover how to set the necessary prope
docTags: 
createdAt: 2022-08-01T19:14:13.000Z
---

It is necessary to define a new Element Type for each OS type, for Kron PAM to be able to auto-detect.
Ex: CentOS Linux, Ubuntu Linux, etc.

Follow the steps below to import AWS devices, having a specific OS created for each specific Element Type for that OS (The example below applies to CentOS).

1. Navigate to **Devices**> **Element Type**.
2. Create a **New Element Type**.
3. **Add** AWS tag.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/aV8J4PTMsXutuc31ISJke_image.png "Element Type Definition")

- Click the **Next&#x20;**&#x62;utton of the related element type.
- Fill these **Element Type** properties, so that Kron PAM can identify the OS of the discovered instances.
  **AWS Element Type Pattern**, **AWS Access Protocol**, and **AWS SSH Username** properties.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/FtVlXF8GhO3ejQGn7CBJ2_image.png "Element Type Properties")

| **Field Name**                      | **Parameter Value**                                                                                                                                                                                                                                                                                                                     |
| ----------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Aws Access Protocol**             | Mandatory.<br />This property is used to determine the default access method for the discovered instance.                                                                                                                                                                                                                               |
| <br />**Aws Element Type Pattern**  | Mandatory.<br />One element can have multiple patterns.<br />This pattern is checked against the “AMI ID” description of the instance, to determine the OS type.                                                                                                                                                                        |
| **Aws SSH Username**                | Mandatory.<br />This username is used as the default login credential.                                                                                                                                                                                                                                                                  |
| **Aws Port Number**                 | Optional.<br />Devices are imported with the defined port number value. If this value is not set, a default port number is used, such as 22 for SSH.                                                                                                                                                                                    |
| **Aws Ami ID**                      | Optional.<br />Exact AMI IDs should be defined.<br />This property can be defined as multiple in one element.<br />If this value is set, the exact AMI ID match is checked before the element type pattern (device.import.aws.element.type.pattern) matches, when attempting to import devices.                                         |
| **Aws Save Windows Admin Password** | While importing Windows devices from AWS, the usernames and passwords will be retrieved from AWS by using a private key for zero-touch onboarding.<br />If the parameter is set as “true”, the credentials are stored in the “AdminCredentials-\<$publicIPofdevice>” SAPM. <br />If this value is not set, the default value is “False” |

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/UQE0RRrd3gDkyLUJczfWM_image.png "AWS Instance AMI Description")

:::hint{type="info"}
Current element types can also be used instead of creating new element types for each device type. The Element type pattern should be set as the desired types like “**Linux|Debian|Ubuntu**”.
:::

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/nwfXRoivpzd6kCxSEq0g1_image.png "Element Type Properties Example")

