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

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# Limit AWS discovery to datacenters with resources

# Limit AWS discovery to datacenters with resources {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
Optimize AWS discovery by limiting it to datacenters with resources.

## Before you begin

* Verify that you have installed Discovery and Service Mapping Patterns, starting with version 1.29.0.
* Verify that your service account has the following IAM permissions to access the Resource Explorer API (starting with Discovery and Service Mapping Patterns version 1.35.1).  
  {#limit-aws-discovery-active-datacenter__table_flj_f25_zjc__entry__2}

  | IAM permission | Coverage |
  |-|-|
  | `resource-explorer-2:Search` | Partial |
  | `resource-explorer-2:Search` + `iam:CreateServiceLinkedRole` | Full |
  [Table 1. Resource Explorer API permissions and coverage]

  {#limit-aws-discovery-active-datacenter__table_flj_f25_zjc}For more information, go to the [AWS Documentation](https://docs.aws.amazon.com/) and search for the "Getting started with Resource Explorer" article.

{#limit-aws-discovery-active-datacenter__ul_nq2_x3c_fkc}  
Note:  
Discovery and Service Mapping Patterns versions 1.29.0 through 1.32.0 used the AWS Config service instead of the Resource Explorer API to determine datacenter activity. For instructions on configuring AWS Config recorder, go to the [AWS Documentation](https://docs.aws.amazon.com/) and search for the "Recording resources in the AWS Config console" article.

Role required: discovery_admin

## About this task

Starting with version 1.29.0, Discovery and Service Mapping Patterns introduces a new AWS datacenter discovery model that focuses discovery on datacenters with resources and excludes datacenters that don't contain resource. To limit discovery to datacenters that contain resources, set
the mid.cloud.discovery.sonar.discover_all_aws_datacenters
MID Server property to false. For more information, see [AWS discovery using patterns](https://www.servicenow.com/docs/Y0yjdHKR~_I76hi21l9C4A "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.").

## Procedure

1. Navigate to AllMID ServerProperties.
2. In the Name column, search for the <kbd class="ph userinput">mid.cloud.discovery.sonar.discover_all_aws_datacenters</kbd> property.
3. Select the mid.cloud.discovery.sonar.discover_all_aws_datacenters property.
4. In the Value field, enter <kbd class="ph userinput">false</kbd>.
5. Select Update.

## What to do next

To exclude specific resource types from AWS datacenter discovery, configure the sn_itom_pattern.discovery.aws.ldc.excluded_resource_types system property with a comma-separated list of resource types to exclude (starting with Discovery and Service Mapping Patterns version 1.35.1). For more information, see [Exclude AWS resource types from datacenter discovery](https://www.servicenow.com/docs/G~phWBRWTiKB5q1Hn8FCVA "You can configure which AWS resource types to exclude from AWS datacenter discovery, to avoid triggering discovery patterns in regions with only default resources.").
**Related tasks**   

* [Exclude AWS resource types from datacenter discovery](https://www.servicenow.com/docs/G~phWBRWTiKB5q1Hn8FCVA "You can configure which AWS resource types to exclude from AWS datacenter discovery, to avoid triggering discovery patterns in regions with only default resources.")  
**Related reference**   

* [AWS discovery using patterns](https://www.servicenow.com/docs/Y0yjdHKR~_I76hi21l9C4A "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.")

*[\>]: and then


