AWS CodeDeploy Deployment pattern-based discovery

  • Release version: Australia
  • Updated May 6, 2026
  • 2 minutes to read
  • Summarize
    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 CodeDeploy Deployment pattern-based discovery

    The AWS CodeDeploy Deployment pattern-based discovery enables ServiceNow customers to identify and map AWS CodeDeploy deployments within their cloud environments using Discovery and Service Mapping Patterns. This process helps populate relevant data into the ServiceNow Configuration Management Database (CMDB) and non-CMDB tables, enhancing visibility into AWS deployment resources.

    Show full answer Show less

    Key Steps and Requirements

    • Prerequisites: Verify AWS discovery prerequisites to ensure successful pattern execution.
    • Resource Inclusion List: Remove any AWS CodeDeploy deployment resources from the Resource Inclusion List table (sacloudinventoryresourcewhitelist) to avoid duplicate discoveries.
    • Pattern Activation: The AWS CodeDeploy Deployment pattern is disabled by default. Enable it via the Discovery and Service Mapping Patterns application. Activating or deactivating patterns is no longer considered a customization and patterns reset to the latest version after upgrades while retaining activation status.

    Data Population and Tables

    The discovery pattern populates data in both CMDB and non-CMDB tables when running the Amazon AWS - CodeDeploy Deployment - Extended Inventory (LP) pattern:

    • Non-CMDB Data: Contains AWS-specific deployment details accessible under Configuration > AWS.
    • CMDB Data: Includes Cloud Resource records with fields such as Object ID (ARN), Name, Resource Type (set as AWS::CodeDeploy::Deployment), Operational Status (default Operational), and Install Status (default Installed).

    Relationships and References

    The pattern establishes important relationships to support discovery:

    • CI Relationships: Links the Cloud Resource to the AWS Datacenter it is hosted on.
    • CI References: Connects the AWS CodeDeploy Deployment records with their corresponding Cloud Resource records and related key-value tag entries.

    AWS Tag Discovery

    The pattern collects AWS tags associated with deployments and stores them in the Key Value table, linking tags to the Cloud Resource records. This allows effective tag management and filtering within ServiceNow.

    Benefits for ServiceNow Customers

    • Automated discovery and accurate mapping of AWS CodeDeploy deployments into the CMDB.
    • Improved resource visibility and relationship tracking within the ServiceNow platform.
    • Tag collection for enhanced resource categorization and management.
    • Ongoing pattern updates ensure discovery processes remain current without customization overhead.

    Discovery and Service Mapping Patterns finds AWS CodeDeploy Deployments on your cloud environment. Discovering some of these resources may 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.
    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.
    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.

    Discovery and Service Mapping Patterns application populates data in both CMDB and non-CMDB tables.

    Data stored in non-CMDB tables

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

    You can review the non-CMDB AWS tables by navigating to All > Configuration > AWS. You can also search the navigation filter for the specific pattern name.

    Table 1. AWS CodeDeploy Deployment [cmdb_aws_codedeploy_deployment]
    Field Description
    Name [name] Name of the CodeDeploy application associated with the deployment.
    Object ID [object_id] Amazon Resource Name (ARN) that uniquely identifies the CodeDeploy application.
    Deployment Group Name [deployment_group_name] Name of the deployment group associated with the deployment.
    Deployment ID [deployment_id] Unique identifier of the CodeDeploy deployment.
    Configuration Item [configuration_item] References the Cloud Resource [cmdb_ci_cmp_resource] table.

    Data stored in CMDB tables

    Discovery and Service Mapping Patterns application populates data in the CMDB when running the Amazon AWS - CodeDeploy Deployment - Extended Inventory (LP) pattern.

    Table 2. Cloud Resource [cmdb_ci_cmp_resource]
    Field Description
    Object ID [object_id] ARN that uniquely identifies the CodeDeploy application.
    Name [name] Name of the CodeDeploy application associated with the deployment.
    Resource type [resource_type] Type of resource. The value is set to AWS::CodeDeployment::Deployment.
    Operational status [operational_status] Operational status of the resource. Default value is Operational.
    Install Status [install_status] Install status of the resource. Default value is Installed.

    CI relationships

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

    Table 3. CI relationships
    CI Relationship CI
    Cloud Resource [cmdb_ci_cmp_resource] Hosted on::Hosts AWS Datacenter [cmdb_ci_aws_datacenter]
    Table 4. CI references
    CI Field Referenced CI
    AWS CodeDeploy Deployment [cmdb_aws_codedeploy_deployment] 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]

    AWS Tag discovery

    The Amazon AWS - CodeDeploy Deployment - Extended Inventory (LP) pattern collects tags and populates them in the Key Value [cmdb_key_value] table.

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