---
sourceDocument: Australia IT Operations Management
sourceDocumentLink: https://www.servicenow.com/docs/r/australia/it-operations-management

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# AWS IAM Role

# AWS IAM Role pattern-based discovery {#ariaid-title1}

Release version: Australia  
Updated May 13, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of AWS IAM Role pattern-based discovery

The AWS IAM Role pattern-based discovery in ServiceNow enables customers to discover AWS Identity and Access Management (IAM) roles within their cloud environments.
This discovery leverages the Discovery and Service Mapping Patterns application to populate detailed AWS IAM Role data into both CMDB and non-CMDB tables, supporting comprehensive cloud resource management and visibility.
Show full answer Show less  

## Prerequisites and Setup

* Ensure AWS discovery prerequisites are met as outlined in **AWS discovery using patterns**.
* Verify that IAM roles are not included in the **Resource Inclusion List \[sacloudinventoryresourcewhitelist\]** to prevent duplicate discoveries.
* Activate the AWS IAM Role discovery pattern, which is disabled by default. Starting with Visibility Content version 6.28.0, enabling or disabling patterns is non-disruptive and updates persist through upgrades.
* Update to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store to access the most current pattern features.

## Data and Tables Populated

The discovery process populates data in two main areas:

* **Non-CMDB tables:** Running the *Amazon AWS - IAM Role - Extended Inventory (LP)* pattern populates AWS-specific tables accessible under **All \> Configuration \> AWS**. This data includes detailed IAM role information.
* **CMDB tables:** The same pattern populates CMDB tables such as **Cloud Resource \[cmdbcicmpresource\]** and **AWS IAM Role \[cmdbawsiamrole\]**, storing key attributes of IAM roles like name, ARN, role ID, install status, operational status, and resource type (set as AWS::IAM::Role).

## CI Relationships and References

The discovery creates relationships that link AWS IAM Roles with other CIs to represent infrastructure dependencies accurately:

* **Hosted on:** Links each Cloud Resource CI to a Cloud Service Account CI.
* **References:** The AWS IAM Role CI references its associated Cloud Resource CI, and tags are linked via the Key Value table.

## AWS Tag Discovery

Tags associated with AWS IAM Roles are collected and stored in the **Key Value \[cmdbkeyvalue\]** table, including the tag name and value, linked back to the Cloud Resource CI. This enables tagging-based filtering and reporting within the CMDB.

## Practical Benefits for ServiceNow Customers

* Gain automated and accurate visibility of AWS IAM roles and their metadata within the CMDB and cloud inventory.
* Maintain up-to-date role information and relationships to support governance, compliance, and cloud security management.
* Leverage tag data for enhanced categorization and reporting on IAM roles.
* Avoid duplicate discovery by managing resource inclusion lists appropriately.
* Ensure smooth upgrades and pattern management with the latest Discovery and Service Mapping Patterns application.  
Discovery and Service Mapping Patterns finds AWS IAM Roles on your cloud environment. Discovering some of these resources might require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.

## Pattern-based discovery and mapping requirements {#aws-iam-role__section_rpj_fj2_bgc}

Verify the AWS discovery prerequisites
:   For more information, see the prerequisites section in [AWS discovery using patterns](https://www.servicenow.com/docs/NFaTlkGaSxMWb2bQPsCnCA "Discovery and Service Mapping Patterns uses patterns to discover components of the Amazon AWS Cloud deployment during horizontal discovery. Discovering some of these resources might require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.").

Remove resources from the Resource Inclusion List table
:   Verify that the relevant resource isn't listed in the Resource Inclusion List \[sa_cloud_inventory_resource_whitelist\] table to avoid duplicate discovery. For more information on removing resources from the Resource
    Inclusion List, see [AWS Resource Inventory discovery with Patterns](https://www.servicenow.com/docs/0pDNq0441mpy~sExfQvvqA "The ServiceNow Discovery and Service Mapping applications can find and map the AWS resources available by AWS Config Service. Discovering some of these resources might require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.").

Enable the relevant pattern
:   The pattern for this service is disabled by default. Starting with Visibility Content version 6.28.0, activating or deactivating a pattern won't be considered a customization, and it will continue to receive updates. Patterns that were previously activated or deactivated will reset to the latest predefined version after upgrading while retaining the last active field value. For more information on enabling patterns, see [Activate a disabled pattern](https://www.servicenow.com/docs/aypCYVQdO8oFebLMLEI89g "If you want to use a pattern for discovery that's disabled by default, activate it manually.").{#aws-iam-role__activating-disabled-pattern-not-customization}
Discovery and Service Mapping Patterns application populates data in both CMDB and non-CMDB tables.

## Data stored in non-CMDB tables {#aws-iam-role__section_aq4_qkq_hfc}

Discovery and Service Mapping Patterns application populates data in the non-CMDB table when running the Amazon AWS - IAM Role - Extended Inventory (LP) pattern.

You can review the non-CMDB
AWS tables by navigating to AllConfigurationAWS. You can also search the navigation filter for the specific pattern name.  
{#aws-iam-role__table_non_cmdb__entry__2}

| Field | Description |
|-|-|
| Name \[name\] | Name of the IAM role. |
| Object ID \[object_id\] | The Amazon Resource Name (ARN) of the IAM role. |
| Role ID \[role_id\] | The stable and unique string identifying the role. |
| Configuration Item \[configuration_item\] | References the Cloud Resource \[cmdb_ci_cmp_resource\] table. |
[Table 1. AWS IAM Role \[cmdb_aws_iam_role\]]

{#aws-iam-role__table_non_cmdb}

## Data stored in CMDB tables {#aws-iam-role__section_ggp_ql2_bgc}

Discovery and Service Mapping Patterns application populates data in the CMDB when running the Amazon AWS - IAM Role - Extended Inventory (LP) pattern.  
{#aws-iam-role__table_cmdb__entry__2}

| Field | Description |
|-|-|
| Name \[name\] | Name of the IAM role. |
| Object ID \[object_id\] | The ARN of the IAM role. |
| Resource type \[resource_type\] | Type of resource. The value is set to AWS::IAM::Role. |
| Install Status \[install_status\] | Install status of the resource. Default value is Installed. |
| Operational status \[operational_status\] | Operational status of the resource. Default value is Operational. |
[Table 2. Cloud Resource \[cmdb_ci_cmp_resource\]]

{#aws-iam-role__table_cmdb}

## CI relationships {#aws-iam-role__section_dc4_ghc_dgc}

The Amazon AWS - IAM Role - Extended Inventory (LP) pattern creates the following relationships and references to support AWS IAM Role discovery. References link to records in other tables and don't appear in the CI Relationship \[cmdb_rel_ci\] table.  
{#aws-iam-role__table_relationships__entry__3}

| CI | Relationship | CI |
|-|-|-|
| Cloud Resource \[cmdb_ci_cmp_resource\] | Hosted on::Hosts | Cloud Service Account \[cmdb_ci_cloud_service_account\] |
[Table 3. CI relationships]

{#aws-iam-role__table_relationships}  
{#aws-iam-role__table_ci_references__entry__3}

| CI | Field | Referenced CI |
|-|-|-|
| AWS IAM Role \[cmdb_aws_iam_role\] | Configuration Item \[configuration_item\] | Cloud Resource \[cmdb_ci_cmp_resource\] |
| Key Value \[cmdb_key_value\] | Configuration item \[configuration_item\] | Cloud Resource \[cmdb_ci_cmp_resource\] |
[Table 4. CI references]

{#aws-iam-role__table_ci_references}

## AWS Tag discovery {#aws-iam-role__section_lyw_zhc_dgc}

The Amazon AWS - IAM Role - Extended Inventory (LP) pattern collects tags and populates them in the Key Value \[cmdb_key_value\] table.  
{#aws-iam-role__table_ojy_vss_5hc__entry__2}

| Field | Description |
|-|-|
| Key \[key\] | Tag name. |
| Value \[value\] | Tag value. |
| Configuration item \[configuration_item\] | References the Cloud Resource \[cmdb_ci_cmp_resource\] table. |
[Table 5. Key Value \[cmdb_key_value\]]

{#aws-iam-role__table_ojy_vss_5hc}

*[\>]: and then


