AWS sub account Organizations pattern-based discovery

reference australia Updated Jun 16, 2026 2 min read aws-sub-account-organization-pattern.md
Raw file servicenow.com

Discovery and Service Mapping Patterns finds AWS sub-accounts in your organization 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

  • Verify the AWS discovery prerequisites

    For more information, see the prerequisites section in AWS discovery using patterns.

  • Configure the Discovery schedule to support GovCloud

    Discovering AWS GovCloud (US) accounts requires using a datacenter URL when setting up an AWS service account. For more information, see Create AWS service accounts.

Data collected by Discovery during horizontal discovery

Discovery populates the data in the CMDB when running the Amazon AWS - Sub Account (LP) pattern.

Field Description
Account Id [account_id] Unique identifier (ID) of the account.
Object ID [object_id] Unique ID of the account.
Datacenter Type [datacenter_type] Type of datacenter. The value is set to AWS Datacenter [cmdb_ci_aws_datacenter].
Name [name] User-friendly name of the account.
Is management account [is_master_account] Indicates if this account is the management account of the organization.
Account Email [account_email] Email address of the AWS service account.
Datacenter URL [datacenter_url] URL of the datacenter used for discovery.
Install Status [install_status] Install status of the account, derived from the account state.
Operational status [operational_status] Operational status of the account, derived from the account state.
Parent account [parent_account] References the management Cloud Service Account [cmdb_ci_cloud_service_account] record.

CI relationships and references

The Amazon AWS - Sub Account (LP) pattern creates the following relationships and references to support AWS sub account discovery. References link to records in other tables and don't appear in the CI Relationship [cmdb_rel_ci] table.

CI Relationship CI
Cloud Service Account [cmdb_ci_cloud_service_account] Members::Member of Cloud Service Account [cmdb_ci_cloud_service_account]
CI Field Referenced CI
Cloud Service Account [cmdb_ci_cloud_service_account] Parent account [parent_account] Cloud Service Account [cmdb_ci_cloud_service_account]
Key Value [cmdb_key_value] Configuration item [configuration_item] Cloud Service Account [cmdb_ci_cloud_service_account]

AWS Tag discovery

The Amazon AWS - Sub Account (LP) pattern collects tags and populates them in the Key Value [cmdb_key_value] table.

Field Description
Key [key] Tag name.
Value [value] Tag value.
Configuration item [configuration_item] References the Cloud Service Account [cmdb_ci_cloud_service_account] table.

Parent Topic:AWS discovery using patterns

Keywords Amazon AWS Sub AccountAWS sub-accountAWS OrganizationsAWS discoveryAWS patternsSub Account pattern
Search documentation
Search document titles and file paths on the australia branch