1. Registry
  2. Packages
  3. Harness Provider
  4. API Docs
  5. platform
  6. IdpIntegrationKindMapping
Viewing docs for Harness v0.17.9
published on Thursday, Nov 12, 2026 by Pulumi
harness logo
Viewing docs for Harness v0.17.9
published on Thursday, Nov 12, 2026 by Pulumi

    Resource for the mapping of one kind of an IDP integration. Every kind has a mapping, so creating this adopts it. Destroying it removes it from the state only, as a kind’s mapping exists as long as the kind does; on Airbyte types it also restores the type’s default field mappings. Don’t manage a kind with both this and a mapping block on harness_platform_idp_integration, which is only sent at create.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as harness from "@pulumi/harness";
    
    // Every kind of an integration has a mapping. This resource manages it, replacing the whole mapping: omitted fields
    // get the type's defaults. Destroying the resource only removes it from the state; on Airbyte types such as
    // ServiceNow it also restores the type's default field mappings.
    const services = new harness.platform.IdpIntegrationKindMapping("services", {
        correlation: {
            sourcePath: "metadata.integration_properties.ServiceNow.name",
            targetPath: "name",
        },
        fieldMappings: [
            {
                sourceField: "owned_by",
                targetField: "spec.owner",
            },
            {
                sourceField: "environment",
                targetField: "metadata.environment",
            },
        ],
        integrationId: servicenow.identifier,
        orgId: "default",
        kind: "cmdb_ci_service",
        displayNameField: "name",
        idpKind: "component",
        idpType: "service",
    });
    // Adds a correlation to a PagerDuty kind, linking each service to the catalog entity with the same name. Omitted
    // fields, such as field_mapping, keep the type's defaults.
    const pagerduty = new harness.platform.IdpIntegrationKindMapping("pagerduty", {
        correlation: {
            sourcePath: "metadata.integration_properties.PagerDuty.name",
            targetPath: "name",
        },
        integrationId: pagerdutyHarnessPlatformIdpIntegration.identifier,
        kind: "services",
    });
    // Custom integrations build entities from the payload with JQ. Don't also set a mapping block for this kind on the
    // integration; that block is only sent at create.
    const orders = new harness.platform.IdpIntegrationKindMapping("orders", {
        ingestion: {
            identifier: ".service.id",
            name: ".service.name",
            properties: {
                "spec.owner": ".service.team",
            },
        },
        integrationId: ordersHarnessPlatformIdpIntegration.identifier,
        kind: "custom",
    });
    
    import pulumi
    import pulumi_harness as harness
    
    # Every kind of an integration has a mapping. This resource manages it, replacing the whole mapping: omitted fields
    # get the type's defaults. Destroying the resource only removes it from the state; on Airbyte types such as
    # ServiceNow it also restores the type's default field mappings.
    services = harness.platform.IdpIntegrationKindMapping("services",
        correlation={
            "source_path": "metadata.integration_properties.ServiceNow.name",
            "target_path": "name",
        },
        field_mappings=[
            {
                "source_field": "owned_by",
                "target_field": "spec.owner",
            },
            {
                "source_field": "environment",
                "target_field": "metadata.environment",
            },
        ],
        integration_id=servicenow["identifier"],
        org_id="default",
        kind="cmdb_ci_service",
        display_name_field="name",
        idp_kind="component",
        idp_type="service")
    # Adds a correlation to a PagerDuty kind, linking each service to the catalog entity with the same name. Omitted
    # fields, such as field_mapping, keep the type's defaults.
    pagerduty = harness.platform.IdpIntegrationKindMapping("pagerduty",
        correlation={
            "source_path": "metadata.integration_properties.PagerDuty.name",
            "target_path": "name",
        },
        integration_id=pagerduty_harness_platform_idp_integration["identifier"],
        kind="services")
    # Custom integrations build entities from the payload with JQ. Don't also set a mapping block for this kind on the
    # integration; that block is only sent at create.
    orders = harness.platform.IdpIntegrationKindMapping("orders",
        ingestion={
            "identifier": ".service.id",
            "name": ".service.name",
            "properties": {
                "spec.owner": ".service.team",
            },
        },
        integration_id=orders_harness_platform_idp_integration["identifier"],
        kind="custom")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-harness/sdk/go/harness/platform"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Every kind of an integration has a mapping. This resource manages it, replacing the whole mapping: omitted fields
    		// get the type's defaults. Destroying the resource only removes it from the state; on Airbyte types such as
    		// ServiceNow it also restores the type's default field mappings.
    		_, err := platform.NewIdpIntegrationKindMapping(ctx, "services", &platform.IdpIntegrationKindMappingArgs{
    			Correlation: &platform.IdpIntegrationKindMappingCorrelationArgs{
    				SourcePath: pulumi.String("metadata.integration_properties.ServiceNow.name"),
    				TargetPath: pulumi.String("name"),
    			},
    			FieldMappings: platform.IdpIntegrationKindMappingFieldMappingArray{
    				&platform.IdpIntegrationKindMappingFieldMappingArgs{
    					SourceField: pulumi.String("owned_by"),
    					TargetField: pulumi.String("spec.owner"),
    				},
    				&platform.IdpIntegrationKindMappingFieldMappingArgs{
    					SourceField: pulumi.String("environment"),
    					TargetField: pulumi.String("metadata.environment"),
    				},
    			},
    			IntegrationId:    pulumi.Any(servicenow.Identifier),
    			OrgId:            pulumi.String("default"),
    			Kind:             pulumi.String("cmdb_ci_service"),
    			DisplayNameField: pulumi.String("name"),
    			IdpKind:          pulumi.String("component"),
    			IdpType:          pulumi.String("service"),
    		})
    		if err != nil {
    			return err
    		}
    		// Adds a correlation to a PagerDuty kind, linking each service to the catalog entity with the same name. Omitted
    		// fields, such as field_mapping, keep the type's defaults.
    		_, err = platform.NewIdpIntegrationKindMapping(ctx, "pagerduty", &platform.IdpIntegrationKindMappingArgs{
    			Correlation: &platform.IdpIntegrationKindMappingCorrelationArgs{
    				SourcePath: pulumi.String("metadata.integration_properties.PagerDuty.name"),
    				TargetPath: pulumi.String("name"),
    			},
    			IntegrationId: pulumi.Any(pagerdutyHarnessPlatformIdpIntegration.Identifier),
    			Kind:          pulumi.String("services"),
    		})
    		if err != nil {
    			return err
    		}
    		// Custom integrations build entities from the payload with JQ. Don't also set a mapping block for this kind on the
    		// integration; that block is only sent at create.
    		_, err = platform.NewIdpIntegrationKindMapping(ctx, "orders", &platform.IdpIntegrationKindMappingArgs{
    			Ingestion: &platform.IdpIntegrationKindMappingIngestionArgs{
    				Identifier: pulumi.String(".service.id"),
    				Name:       pulumi.String(".service.name"),
    				Properties: pulumi.StringMap{
    					"spec.owner": pulumi.String(".service.team"),
    				},
    			},
    			IntegrationId: pulumi.Any(ordersHarnessPlatformIdpIntegration.Identifier),
    			Kind:          pulumi.String("custom"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Harness = Pulumi.Harness;
    
    return await Deployment.RunAsync(() => 
    {
        // Every kind of an integration has a mapping. This resource manages it, replacing the whole mapping: omitted fields
        // get the type's defaults. Destroying the resource only removes it from the state; on Airbyte types such as
        // ServiceNow it also restores the type's default field mappings.
        var services = new Harness.Platform.IdpIntegrationKindMapping("services", new()
        {
            Correlation = new Harness.Platform.Inputs.IdpIntegrationKindMappingCorrelationArgs
            {
                SourcePath = "metadata.integration_properties.ServiceNow.name",
                TargetPath = "name",
            },
            FieldMappings = new[]
            {
                new Harness.Platform.Inputs.IdpIntegrationKindMappingFieldMappingArgs
                {
                    SourceField = "owned_by",
                    TargetField = "spec.owner",
                },
                new Harness.Platform.Inputs.IdpIntegrationKindMappingFieldMappingArgs
                {
                    SourceField = "environment",
                    TargetField = "metadata.environment",
                },
            },
            IntegrationId = servicenow.Identifier,
            OrgId = "default",
            Kind = "cmdb_ci_service",
            DisplayNameField = "name",
            IdpKind = "component",
            IdpType = "service",
        });
    
        // Adds a correlation to a PagerDuty kind, linking each service to the catalog entity with the same name. Omitted
        // fields, such as field_mapping, keep the type's defaults.
        var pagerduty = new Harness.Platform.IdpIntegrationKindMapping("pagerduty", new()
        {
            Correlation = new Harness.Platform.Inputs.IdpIntegrationKindMappingCorrelationArgs
            {
                SourcePath = "metadata.integration_properties.PagerDuty.name",
                TargetPath = "name",
            },
            IntegrationId = pagerdutyHarnessPlatformIdpIntegration.Identifier,
            Kind = "services",
        });
    
        // Custom integrations build entities from the payload with JQ. Don't also set a mapping block for this kind on the
        // integration; that block is only sent at create.
        var orders = new Harness.Platform.IdpIntegrationKindMapping("orders", new()
        {
            Ingestion = new Harness.Platform.Inputs.IdpIntegrationKindMappingIngestionArgs
            {
                Identifier = ".service.id",
                Name = ".service.name",
                Properties = 
                {
                    { "spec.owner", ".service.team" },
                },
            },
            IntegrationId = ordersHarnessPlatformIdpIntegration.Identifier,
            Kind = "custom",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.harness.platform.IdpIntegrationKindMapping;
    import com.pulumi.harness.platform.IdpIntegrationKindMappingArgs;
    import com.pulumi.harness.platform.inputs.IdpIntegrationKindMappingCorrelationArgs;
    import com.pulumi.harness.platform.inputs.IdpIntegrationKindMappingFieldMappingArgs;
    import com.pulumi.harness.platform.inputs.IdpIntegrationKindMappingIngestionArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            // Every kind of an integration has a mapping. This resource manages it, replacing the whole mapping: omitted fields
            // get the type's defaults. Destroying the resource only removes it from the state; on Airbyte types such as
            // ServiceNow it also restores the type's default field mappings.
            var services = new IdpIntegrationKindMapping("services", IdpIntegrationKindMappingArgs.builder()
                .correlation(IdpIntegrationKindMappingCorrelationArgs.builder()
                    .sourcePath("metadata.integration_properties.ServiceNow.name")
                    .targetPath("name")
                    .build())
                .fieldMappings(            
                    IdpIntegrationKindMappingFieldMappingArgs.builder()
                        .sourceField("owned_by")
                        .targetField("spec.owner")
                        .build(),
                    IdpIntegrationKindMappingFieldMappingArgs.builder()
                        .sourceField("environment")
                        .targetField("metadata.environment")
                        .build())
                .integrationId(servicenow.get("identifier"))
                .orgId("default")
                .kind("cmdb_ci_service")
                .displayNameField("name")
                .idpKind("component")
                .idpType("service")
                .build());
    
            // Adds a correlation to a PagerDuty kind, linking each service to the catalog entity with the same name. Omitted
            // fields, such as field_mapping, keep the type's defaults.
            var pagerduty = new IdpIntegrationKindMapping("pagerduty", IdpIntegrationKindMappingArgs.builder()
                .correlation(IdpIntegrationKindMappingCorrelationArgs.builder()
                    .sourcePath("metadata.integration_properties.PagerDuty.name")
                    .targetPath("name")
                    .build())
                .integrationId(pagerdutyHarnessPlatformIdpIntegration.get("identifier"))
                .kind("services")
                .build());
    
            // Custom integrations build entities from the payload with JQ. Don't also set a mapping block for this kind on the
            // integration; that block is only sent at create.
            var orders = new IdpIntegrationKindMapping("orders", IdpIntegrationKindMappingArgs.builder()
                .ingestion(IdpIntegrationKindMappingIngestionArgs.builder()
                    .identifier(".service.id")
                    .name(".service.name")
                    .properties(Map.of("spec.owner", ".service.team"))
                    .build())
                .integrationId(ordersHarnessPlatformIdpIntegration.get("identifier"))
                .kind("custom")
                .build());
    
        }
    }
    
    resources:
      # Every kind of an integration has a mapping. This resource manages it, replacing the whole mapping: omitted fields
      # get the type's defaults. Destroying the resource only removes it from the state; on Airbyte types such as
      # ServiceNow it also restores the type's default field mappings.
      services:
        type: harness:platform:IdpIntegrationKindMapping
        properties:
          correlation:
            sourcePath: metadata.integration_properties.ServiceNow.name
            targetPath: name
          fieldMappings:
            - sourceField: owned_by
              targetField: spec.owner
            - sourceField: environment
              targetField: metadata.environment
          integrationId: ${servicenow.identifier}
          orgId: default
          kind: cmdb_ci_service
          displayNameField: name
          idpKind: component
          idpType: service
      # Adds a correlation to a PagerDuty kind, linking each service to the catalog entity with the same name. Omitted
      # fields, such as field_mapping, keep the type's defaults.
      pagerduty:
        type: harness:platform:IdpIntegrationKindMapping
        properties:
          correlation:
            sourcePath: metadata.integration_properties.PagerDuty.name
            targetPath: name
          integrationId: ${pagerdutyHarnessPlatformIdpIntegration.identifier}
          kind: services
      # Custom integrations build entities from the payload with JQ. Don't also set a mapping block for this kind on the
      # integration; that block is only sent at create.
      orders:
        type: harness:platform:IdpIntegrationKindMapping
        properties:
          ingestion:
            identifier: .service.id
            name: .service.name
            properties:
              spec.owner: .service.team
          integrationId: ${ordersHarnessPlatformIdpIntegration.identifier}
          kind: custom
    
    terraform {
      required_providers {
        harness = {
          source = "pulumi/harness"
        }
      }
    }
    
    # Every kind of an integration has a mapping. This resource manages it, replacing the whole mapping: omitted fields
    # get the type's defaults. Destroying the resource only removes it from the state; on Airbyte types such as
    # ServiceNow it also restores the type's default field mappings.
    resource "harness_platform_idp_integration_kind_mapping" "services" {
      lifecycle {
        create_before_destroy = true
      }
      correlation {
        source_path = "metadata.integration_properties.ServiceNow.name"
        target_path = "name"
      }
      field_mapping {
        source_field = "owned_by"
        target_field = "spec.owner"
      }
      field_mapping {
        source_field = "environment"
        target_field = "metadata.environment"
      }
      integration_id     = servicenow.identifier
      org_id             = "default"
      kind               = "cmdb_ci_service"
      display_name_field = "name"
      idp_kind           = "component"
      idp_type           = "service"
    }
    # Adds a correlation to a PagerDuty kind, linking each service to the catalog entity with the same name. Omitted
    # fields, such as field_mapping, keep the type's defaults.
    resource "harness_platform_idp_integration_kind_mapping" "pagerduty" {
      lifecycle {
        create_before_destroy = true
      }
      correlation {
        source_path = "metadata.integration_properties.PagerDuty.name"
        target_path = "name"
      }
      integration_id = pagerdutyHarnessPlatformIdpIntegration.identifier
      kind           = "services"
    }
    # Custom integrations build entities from the payload with JQ. Don't also set a mapping block for this kind on the
    # integration; that block is only sent at create.
    resource "harness_platform_idp_integration_kind_mapping" "orders" {
      lifecycle {
        create_before_destroy = true
      }
      ingestion {
        identifier = ".service.id"
        name       = ".service.name"
        properties = {
          "spec.owner" = ".service.team"
        }
      }
      integration_id = ordersHarnessPlatformIdpIntegration.identifier
      kind           = "custom"
    }
    

    Create IdpIntegrationKindMapping Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new IdpIntegrationKindMapping(name: string, args: IdpIntegrationKindMappingArgs, opts?: CustomResourceOptions);
    @overload
    def IdpIntegrationKindMapping(resource_name: str,
                                  args: IdpIntegrationKindMappingInitArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def IdpIntegrationKindMapping(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  integration_id: Optional[str] = None,
                                  kind: Optional[str] = None,
                                  correlation: Optional[IdpIntegrationKindMappingCorrelationArgs] = None,
                                  display_name_field: Optional[str] = None,
                                  field_mappings: Optional[Sequence[IdpIntegrationKindMappingFieldMappingArgs]] = None,
                                  idp_kind: Optional[str] = None,
                                  idp_type: Optional[str] = None,
                                  ingestion: Optional[IdpIntegrationKindMappingIngestionArgs] = None,
                                  org_id: Optional[str] = None,
                                  project_id: Optional[str] = None,
                                  unique_identifier_field: Optional[str] = None)
    func NewIdpIntegrationKindMapping(ctx *Context, name string, args IdpIntegrationKindMappingArgs, opts ...ResourceOption) (*IdpIntegrationKindMapping, error)
    public IdpIntegrationKindMapping(string name, IdpIntegrationKindMappingArgs args, CustomResourceOptions? opts = null)
    public IdpIntegrationKindMapping(String name, IdpIntegrationKindMappingArgs args)
    public IdpIntegrationKindMapping(String name, IdpIntegrationKindMappingArgs args, CustomResourceOptions options)
    
    type: harness:platform:IdpIntegrationKindMapping
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "harness_platform_idp_integration_kind_mapping" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args IdpIntegrationKindMappingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args IdpIntegrationKindMappingInitArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args IdpIntegrationKindMappingArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IdpIntegrationKindMappingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IdpIntegrationKindMappingArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var idpIntegrationKindMappingResource = new Harness.Platform.IdpIntegrationKindMapping("idpIntegrationKindMappingResource", new()
    {
        IntegrationId = "string",
        Kind = "string",
        Correlation = new Harness.Platform.Inputs.IdpIntegrationKindMappingCorrelationArgs
        {
            SourcePath = "string",
            TargetPath = "string",
            Operator = "string",
        },
        DisplayNameField = "string",
        FieldMappings = new[]
        {
            new Harness.Platform.Inputs.IdpIntegrationKindMappingFieldMappingArgs
            {
                SourceField = "string",
                TargetField = "string",
            },
        },
        IdpKind = "string",
        IdpType = "string",
        Ingestion = new Harness.Platform.Inputs.IdpIntegrationKindMappingIngestionArgs
        {
            Identifier = "string",
            Name = "string",
            Properties = 
            {
                { "string", "string" },
            },
        },
        OrgId = "string",
        ProjectId = "string",
        UniqueIdentifierField = "string",
    });
    
    example, err := platform.NewIdpIntegrationKindMapping(ctx, "idpIntegrationKindMappingResource", &platform.IdpIntegrationKindMappingArgs{
    	IntegrationId: pulumi.String("string"),
    	Kind:          pulumi.String("string"),
    	Correlation: &platform.IdpIntegrationKindMappingCorrelationArgs{
    		SourcePath: pulumi.String("string"),
    		TargetPath: pulumi.String("string"),
    		Operator:   pulumi.String("string"),
    	},
    	DisplayNameField: pulumi.String("string"),
    	FieldMappings: platform.IdpIntegrationKindMappingFieldMappingArray{
    		&platform.IdpIntegrationKindMappingFieldMappingArgs{
    			SourceField: pulumi.String("string"),
    			TargetField: pulumi.String("string"),
    		},
    	},
    	IdpKind: pulumi.String("string"),
    	IdpType: pulumi.String("string"),
    	Ingestion: &platform.IdpIntegrationKindMappingIngestionArgs{
    		Identifier: pulumi.String("string"),
    		Name:       pulumi.String("string"),
    		Properties: pulumi.StringMap{
    			"string": pulumi.String("string"),
    		},
    	},
    	OrgId:                 pulumi.String("string"),
    	ProjectId:             pulumi.String("string"),
    	UniqueIdentifierField: pulumi.String("string"),
    })
    
    resource "harness_platform_idp_integration_kind_mapping" "idpIntegrationKindMappingResource" {
      lifecycle {
        create_before_destroy = true
      }
      integration_id = "string"
      kind           = "string"
      correlation = {
        source_path = "string"
        target_path = "string"
        operator    = "string"
      }
      display_name_field = "string"
      field_mappings {
        source_field = "string"
        target_field = "string"
      }
      idp_kind = "string"
      idp_type = "string"
      ingestion = {
        identifier = "string"
        name       = "string"
        properties = {
          "string" = "string"
        }
      }
      org_id                  = "string"
      project_id              = "string"
      unique_identifier_field = "string"
    }
    
    var idpIntegrationKindMappingResource = new IdpIntegrationKindMapping("idpIntegrationKindMappingResource", IdpIntegrationKindMappingArgs.builder()
        .integrationId("string")
        .kind("string")
        .correlation(IdpIntegrationKindMappingCorrelationArgs.builder()
            .sourcePath("string")
            .targetPath("string")
            .operator("string")
            .build())
        .displayNameField("string")
        .fieldMappings(IdpIntegrationKindMappingFieldMappingArgs.builder()
            .sourceField("string")
            .targetField("string")
            .build())
        .idpKind("string")
        .idpType("string")
        .ingestion(IdpIntegrationKindMappingIngestionArgs.builder()
            .identifier("string")
            .name("string")
            .properties(Map.of("string", "string"))
            .build())
        .orgId("string")
        .projectId("string")
        .uniqueIdentifierField("string")
        .build());
    
    idp_integration_kind_mapping_resource = harness.platform.IdpIntegrationKindMapping("idpIntegrationKindMappingResource",
        integration_id="string",
        kind="string",
        correlation={
            "source_path": "string",
            "target_path": "string",
            "operator": "string",
        },
        display_name_field="string",
        field_mappings=[{
            "source_field": "string",
            "target_field": "string",
        }],
        idp_kind="string",
        idp_type="string",
        ingestion={
            "identifier": "string",
            "name": "string",
            "properties": {
                "string": "string",
            },
        },
        org_id="string",
        project_id="string",
        unique_identifier_field="string")
    
    const idpIntegrationKindMappingResource = new harness.platform.IdpIntegrationKindMapping("idpIntegrationKindMappingResource", {
        integrationId: "string",
        kind: "string",
        correlation: {
            sourcePath: "string",
            targetPath: "string",
            operator: "string",
        },
        displayNameField: "string",
        fieldMappings: [{
            sourceField: "string",
            targetField: "string",
        }],
        idpKind: "string",
        idpType: "string",
        ingestion: {
            identifier: "string",
            name: "string",
            properties: {
                string: "string",
            },
        },
        orgId: "string",
        projectId: "string",
        uniqueIdentifierField: "string",
    });
    
    type: harness:platform:IdpIntegrationKindMapping
    properties:
        correlation:
            operator: string
            sourcePath: string
            targetPath: string
        displayNameField: string
        fieldMappings:
            - sourceField: string
              targetField: string
        idpKind: string
        idpType: string
        ingestion:
            identifier: string
            name: string
            properties:
                string: string
        integrationId: string
        kind: string
        orgId: string
        projectId: string
        uniqueIdentifierField: string
    

    IdpIntegrationKindMapping Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The IdpIntegrationKindMapping resource accepts the following input properties:

    IntegrationId string
    Identifier of the integration.
    Kind string
    Kind whose mapping this is.
    Correlation IdpIntegrationKindMappingCorrelation
    Links records to existing entities; the server's when omitted.
    DisplayNameField string
    Source field used as the entity's name.
    FieldMappings List<IdpIntegrationKindMappingFieldMapping>
    Maps a source field to an entity field. Airbyte types. Omitted, the type's defaults apply; removing it from the config keeps the last value, so destroy the mapping resource to go back to them.
    IdpKind string
    Entity kind, e.g. component.
    IdpType string
    Entity type, e.g. service.
    Ingestion IdpIntegrationKindMappingIngestion
    Custom types: JQ that builds the entity from a payload.
    OrgId string
    Organization of the integration.
    ProjectId string
    Project of the integration.
    UniqueIdentifierField string
    Source field that identifies an entity. Can't change on Airbyte types.
    IntegrationId string
    Identifier of the integration.
    Kind string
    Kind whose mapping this is.
    Correlation IdpIntegrationKindMappingCorrelationArgs
    Links records to existing entities; the server's when omitted.
    DisplayNameField string
    Source field used as the entity's name.
    FieldMappings []IdpIntegrationKindMappingFieldMappingArgs
    Maps a source field to an entity field. Airbyte types. Omitted, the type's defaults apply; removing it from the config keeps the last value, so destroy the mapping resource to go back to them.
    IdpKind string
    Entity kind, e.g. component.
    IdpType string
    Entity type, e.g. service.
    Ingestion IdpIntegrationKindMappingIngestionArgs
    Custom types: JQ that builds the entity from a payload.
    OrgId string
    Organization of the integration.
    ProjectId string
    Project of the integration.
    UniqueIdentifierField string
    Source field that identifies an entity. Can't change on Airbyte types.
    integration_id string
    Identifier of the integration.
    kind string
    Kind whose mapping this is.
    correlation object
    Links records to existing entities; the server's when omitted.
    display_name_field string
    Source field used as the entity's name.
    field_mappings list(object)
    Maps a source field to an entity field. Airbyte types. Omitted, the type's defaults apply; removing it from the config keeps the last value, so destroy the mapping resource to go back to them.
    idp_kind string
    Entity kind, e.g. component.
    idp_type string
    Entity type, e.g. service.
    ingestion object
    Custom types: JQ that builds the entity from a payload.
    org_id string
    Organization of the integration.
    project_id string
    Project of the integration.
    unique_identifier_field string
    Source field that identifies an entity. Can't change on Airbyte types.
    integrationId String
    Identifier of the integration.
    kind String
    Kind whose mapping this is.
    correlation IdpIntegrationKindMappingCorrelation
    Links records to existing entities; the server's when omitted.
    displayNameField String
    Source field used as the entity's name.
    fieldMappings List<IdpIntegrationKindMappingFieldMapping>
    Maps a source field to an entity field. Airbyte types. Omitted, the type's defaults apply; removing it from the config keeps the last value, so destroy the mapping resource to go back to them.
    idpKind String
    Entity kind, e.g. component.
    idpType String
    Entity type, e.g. service.
    ingestion IdpIntegrationKindMappingIngestion
    Custom types: JQ that builds the entity from a payload.
    orgId String
    Organization of the integration.
    projectId String
    Project of the integration.
    uniqueIdentifierField String
    Source field that identifies an entity. Can't change on Airbyte types.
    integrationId string
    Identifier of the integration.
    kind string
    Kind whose mapping this is.
    correlation IdpIntegrationKindMappingCorrelation
    Links records to existing entities; the server's when omitted.
    displayNameField string
    Source field used as the entity's name.
    fieldMappings IdpIntegrationKindMappingFieldMapping[]
    Maps a source field to an entity field. Airbyte types. Omitted, the type's defaults apply; removing it from the config keeps the last value, so destroy the mapping resource to go back to them.
    idpKind string
    Entity kind, e.g. component.
    idpType string
    Entity type, e.g. service.
    ingestion IdpIntegrationKindMappingIngestion
    Custom types: JQ that builds the entity from a payload.
    orgId string
    Organization of the integration.
    projectId string
    Project of the integration.
    uniqueIdentifierField string
    Source field that identifies an entity. Can't change on Airbyte types.
    integration_id str
    Identifier of the integration.
    kind str
    Kind whose mapping this is.
    correlation IdpIntegrationKindMappingCorrelationArgs
    Links records to existing entities; the server's when omitted.
    display_name_field str
    Source field used as the entity's name.
    field_mappings Sequence[IdpIntegrationKindMappingFieldMappingArgs]
    Maps a source field to an entity field. Airbyte types. Omitted, the type's defaults apply; removing it from the config keeps the last value, so destroy the mapping resource to go back to them.
    idp_kind str
    Entity kind, e.g. component.
    idp_type str
    Entity type, e.g. service.
    ingestion IdpIntegrationKindMappingIngestionArgs
    Custom types: JQ that builds the entity from a payload.
    org_id str
    Organization of the integration.
    project_id str
    Project of the integration.
    unique_identifier_field str
    Source field that identifies an entity. Can't change on Airbyte types.
    integrationId String
    Identifier of the integration.
    kind String
    Kind whose mapping this is.
    correlation Property Map
    Links records to existing entities; the server's when omitted.
    displayNameField String
    Source field used as the entity's name.
    fieldMappings List<Property Map>
    Maps a source field to an entity field. Airbyte types. Omitted, the type's defaults apply; removing it from the config keeps the last value, so destroy the mapping resource to go back to them.
    idpKind String
    Entity kind, e.g. component.
    idpType String
    Entity type, e.g. service.
    ingestion Property Map
    Custom types: JQ that builds the entity from a payload.
    orgId String
    Organization of the integration.
    projectId String
    Project of the integration.
    uniqueIdentifierField String
    Source field that identifies an entity. Can't change on Airbyte types.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the IdpIntegrationKindMapping resource produces the following output properties:

    Emissions List<IdpIntegrationKindMappingEmission>
    How entities are emitted; read-only.
    Id string
    The provider-assigned unique ID for this managed resource.
    PayloadSchema string
    JSON schema of the payload; read-only.
    Revision int
    The integration's revision.
    Updated int
    Last update time, in milliseconds since the epoch.
    Emissions []IdpIntegrationKindMappingEmission
    How entities are emitted; read-only.
    Id string
    The provider-assigned unique ID for this managed resource.
    PayloadSchema string
    JSON schema of the payload; read-only.
    Revision int
    The integration's revision.
    Updated int
    Last update time, in milliseconds since the epoch.
    emissions list(object)
    How entities are emitted; read-only.
    id string
    The provider-assigned unique ID for this managed resource.
    payload_schema string
    JSON schema of the payload; read-only.
    revision number
    The integration's revision.
    updated number
    Last update time, in milliseconds since the epoch.
    emissions List<IdpIntegrationKindMappingEmission>
    How entities are emitted; read-only.
    id String
    The provider-assigned unique ID for this managed resource.
    payloadSchema String
    JSON schema of the payload; read-only.
    revision Integer
    The integration's revision.
    updated Integer
    Last update time, in milliseconds since the epoch.
    emissions IdpIntegrationKindMappingEmission[]
    How entities are emitted; read-only.
    id string
    The provider-assigned unique ID for this managed resource.
    payloadSchema string
    JSON schema of the payload; read-only.
    revision number
    The integration's revision.
    updated number
    Last update time, in milliseconds since the epoch.
    emissions Sequence[IdpIntegrationKindMappingEmission]
    How entities are emitted; read-only.
    id str
    The provider-assigned unique ID for this managed resource.
    payload_schema str
    JSON schema of the payload; read-only.
    revision int
    The integration's revision.
    updated int
    Last update time, in milliseconds since the epoch.
    emissions List<Property Map>
    How entities are emitted; read-only.
    id String
    The provider-assigned unique ID for this managed resource.
    payloadSchema String
    JSON schema of the payload; read-only.
    revision Number
    The integration's revision.
    updated Number
    Last update time, in milliseconds since the epoch.

    Look up Existing IdpIntegrationKindMapping Resource

    Get an existing IdpIntegrationKindMapping resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: IdpIntegrationKindMappingState, opts?: CustomResourceOptions): IdpIntegrationKindMapping
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            correlation: Optional[IdpIntegrationKindMappingCorrelationArgs] = None,
            display_name_field: Optional[str] = None,
            emissions: Optional[Sequence[IdpIntegrationKindMappingEmissionArgs]] = None,
            field_mappings: Optional[Sequence[IdpIntegrationKindMappingFieldMappingArgs]] = None,
            idp_kind: Optional[str] = None,
            idp_type: Optional[str] = None,
            ingestion: Optional[IdpIntegrationKindMappingIngestionArgs] = None,
            integration_id: Optional[str] = None,
            kind: Optional[str] = None,
            org_id: Optional[str] = None,
            payload_schema: Optional[str] = None,
            project_id: Optional[str] = None,
            revision: Optional[int] = None,
            unique_identifier_field: Optional[str] = None,
            updated: Optional[int] = None) -> IdpIntegrationKindMapping
    func GetIdpIntegrationKindMapping(ctx *Context, name string, id IDInput, state *IdpIntegrationKindMappingState, opts ...ResourceOption) (*IdpIntegrationKindMapping, error)
    public static IdpIntegrationKindMapping Get(string name, Input<string> id, IdpIntegrationKindMappingState? state, CustomResourceOptions? opts = null)
    public static IdpIntegrationKindMapping get(String name, Output<String> id, IdpIntegrationKindMappingState state, CustomResourceOptions options)
    resources:  existingIdpIntegrationKindMapping:    type: harness:platform:IdpIntegrationKindMapping    get:      id: ${id}
    import {
      to = harness_platform_idp_integration_kind_mapping.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    state IdpIntegrationKindMappingState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state IdpIntegrationKindMappingState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    state IdpIntegrationKindMappingState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    state IdpIntegrationKindMappingState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    options CustomResourceOptions
    Bag of options to control resource's behavior.
    The following state arguments are supported:
    Correlation IdpIntegrationKindMappingCorrelation
    Links records to existing entities; the server's when omitted.
    DisplayNameField string
    Source field used as the entity's name.
    Emissions List<IdpIntegrationKindMappingEmission>
    How entities are emitted; read-only.
    FieldMappings List<IdpIntegrationKindMappingFieldMapping>
    Maps a source field to an entity field. Airbyte types. Omitted, the type's defaults apply; removing it from the config keeps the last value, so destroy the mapping resource to go back to them.
    IdpKind string
    Entity kind, e.g. component.
    IdpType string
    Entity type, e.g. service.
    Ingestion IdpIntegrationKindMappingIngestion
    Custom types: JQ that builds the entity from a payload.
    IntegrationId string
    Identifier of the integration.
    Kind string
    Kind whose mapping this is.
    OrgId string
    Organization of the integration.
    PayloadSchema string
    JSON schema of the payload; read-only.
    ProjectId string
    Project of the integration.
    Revision int
    The integration's revision.
    UniqueIdentifierField string
    Source field that identifies an entity. Can't change on Airbyte types.
    Updated int
    Last update time, in milliseconds since the epoch.
    Correlation IdpIntegrationKindMappingCorrelationArgs
    Links records to existing entities; the server's when omitted.
    DisplayNameField string
    Source field used as the entity's name.
    Emissions []IdpIntegrationKindMappingEmissionArgs
    How entities are emitted; read-only.
    FieldMappings []IdpIntegrationKindMappingFieldMappingArgs
    Maps a source field to an entity field. Airbyte types. Omitted, the type's defaults apply; removing it from the config keeps the last value, so destroy the mapping resource to go back to them.
    IdpKind string
    Entity kind, e.g. component.
    IdpType string
    Entity type, e.g. service.
    Ingestion IdpIntegrationKindMappingIngestionArgs
    Custom types: JQ that builds the entity from a payload.
    IntegrationId string
    Identifier of the integration.
    Kind string
    Kind whose mapping this is.
    OrgId string
    Organization of the integration.
    PayloadSchema string
    JSON schema of the payload; read-only.
    ProjectId string
    Project of the integration.
    Revision int
    The integration's revision.
    UniqueIdentifierField string
    Source field that identifies an entity. Can't change on Airbyte types.
    Updated int
    Last update time, in milliseconds since the epoch.
    correlation object
    Links records to existing entities; the server's when omitted.
    display_name_field string
    Source field used as the entity's name.
    emissions list(object)
    How entities are emitted; read-only.
    field_mappings list(object)
    Maps a source field to an entity field. Airbyte types. Omitted, the type's defaults apply; removing it from the config keeps the last value, so destroy the mapping resource to go back to them.
    idp_kind string
    Entity kind, e.g. component.
    idp_type string
    Entity type, e.g. service.
    ingestion object
    Custom types: JQ that builds the entity from a payload.
    integration_id string
    Identifier of the integration.
    kind string
    Kind whose mapping this is.
    org_id string
    Organization of the integration.
    payload_schema string
    JSON schema of the payload; read-only.
    project_id string
    Project of the integration.
    revision number
    The integration's revision.
    unique_identifier_field string
    Source field that identifies an entity. Can't change on Airbyte types.
    updated number
    Last update time, in milliseconds since the epoch.
    correlation IdpIntegrationKindMappingCorrelation
    Links records to existing entities; the server's when omitted.
    displayNameField String
    Source field used as the entity's name.
    emissions List<IdpIntegrationKindMappingEmission>
    How entities are emitted; read-only.
    fieldMappings List<IdpIntegrationKindMappingFieldMapping>
    Maps a source field to an entity field. Airbyte types. Omitted, the type's defaults apply; removing it from the config keeps the last value, so destroy the mapping resource to go back to them.
    idpKind String
    Entity kind, e.g. component.
    idpType String
    Entity type, e.g. service.
    ingestion IdpIntegrationKindMappingIngestion
    Custom types: JQ that builds the entity from a payload.
    integrationId String
    Identifier of the integration.
    kind String
    Kind whose mapping this is.
    orgId String
    Organization of the integration.
    payloadSchema String
    JSON schema of the payload; read-only.
    projectId String
    Project of the integration.
    revision Integer
    The integration's revision.
    uniqueIdentifierField String
    Source field that identifies an entity. Can't change on Airbyte types.
    updated Integer
    Last update time, in milliseconds since the epoch.
    correlation IdpIntegrationKindMappingCorrelation
    Links records to existing entities; the server's when omitted.
    displayNameField string
    Source field used as the entity's name.
    emissions IdpIntegrationKindMappingEmission[]
    How entities are emitted; read-only.
    fieldMappings IdpIntegrationKindMappingFieldMapping[]
    Maps a source field to an entity field. Airbyte types. Omitted, the type's defaults apply; removing it from the config keeps the last value, so destroy the mapping resource to go back to them.
    idpKind string
    Entity kind, e.g. component.
    idpType string
    Entity type, e.g. service.
    ingestion IdpIntegrationKindMappingIngestion
    Custom types: JQ that builds the entity from a payload.
    integrationId string
    Identifier of the integration.
    kind string
    Kind whose mapping this is.
    orgId string
    Organization of the integration.
    payloadSchema string
    JSON schema of the payload; read-only.
    projectId string
    Project of the integration.
    revision number
    The integration's revision.
    uniqueIdentifierField string
    Source field that identifies an entity. Can't change on Airbyte types.
    updated number
    Last update time, in milliseconds since the epoch.
    correlation IdpIntegrationKindMappingCorrelationArgs
    Links records to existing entities; the server's when omitted.
    display_name_field str
    Source field used as the entity's name.
    emissions Sequence[IdpIntegrationKindMappingEmissionArgs]
    How entities are emitted; read-only.
    field_mappings Sequence[IdpIntegrationKindMappingFieldMappingArgs]
    Maps a source field to an entity field. Airbyte types. Omitted, the type's defaults apply; removing it from the config keeps the last value, so destroy the mapping resource to go back to them.
    idp_kind str
    Entity kind, e.g. component.
    idp_type str
    Entity type, e.g. service.
    ingestion IdpIntegrationKindMappingIngestionArgs
    Custom types: JQ that builds the entity from a payload.
    integration_id str
    Identifier of the integration.
    kind str
    Kind whose mapping this is.
    org_id str
    Organization of the integration.
    payload_schema str
    JSON schema of the payload; read-only.
    project_id str
    Project of the integration.
    revision int
    The integration's revision.
    unique_identifier_field str
    Source field that identifies an entity. Can't change on Airbyte types.
    updated int
    Last update time, in milliseconds since the epoch.
    correlation Property Map
    Links records to existing entities; the server's when omitted.
    displayNameField String
    Source field used as the entity's name.
    emissions List<Property Map>
    How entities are emitted; read-only.
    fieldMappings List<Property Map>
    Maps a source field to an entity field. Airbyte types. Omitted, the type's defaults apply; removing it from the config keeps the last value, so destroy the mapping resource to go back to them.
    idpKind String
    Entity kind, e.g. component.
    idpType String
    Entity type, e.g. service.
    ingestion Property Map
    Custom types: JQ that builds the entity from a payload.
    integrationId String
    Identifier of the integration.
    kind String
    Kind whose mapping this is.
    orgId String
    Organization of the integration.
    payloadSchema String
    JSON schema of the payload; read-only.
    projectId String
    Project of the integration.
    revision Number
    The integration's revision.
    uniqueIdentifierField String
    Source field that identifies an entity. Can't change on Airbyte types.
    updated Number
    Last update time, in milliseconds since the epoch.

    Supporting Types

    IdpIntegrationKindMappingCorrelation, IdpIntegrationKindMappingCorrelationArgs

    SourcePath string
    Field to match. Airbyte types: a path in the emitted entity data, e.g. identifier or spec.owner; Custom: a payload field.
    TargetPath string
    Entity field to match, e.g. metadata.identifier.
    Operator string
    Match operator; eq when omitted.
    SourcePath string
    Field to match. Airbyte types: a path in the emitted entity data, e.g. identifier or spec.owner; Custom: a payload field.
    TargetPath string
    Entity field to match, e.g. metadata.identifier.
    Operator string
    Match operator; eq when omitted.
    source_path string
    Field to match. Airbyte types: a path in the emitted entity data, e.g. identifier or spec.owner; Custom: a payload field.
    target_path string
    Entity field to match, e.g. metadata.identifier.
    operator string
    Match operator; eq when omitted.
    sourcePath String
    Field to match. Airbyte types: a path in the emitted entity data, e.g. identifier or spec.owner; Custom: a payload field.
    targetPath String
    Entity field to match, e.g. metadata.identifier.
    operator String
    Match operator; eq when omitted.
    sourcePath string
    Field to match. Airbyte types: a path in the emitted entity data, e.g. identifier or spec.owner; Custom: a payload field.
    targetPath string
    Entity field to match, e.g. metadata.identifier.
    operator string
    Match operator; eq when omitted.
    source_path str
    Field to match. Airbyte types: a path in the emitted entity data, e.g. identifier or spec.owner; Custom: a payload field.
    target_path str
    Entity field to match, e.g. metadata.identifier.
    operator str
    Match operator; eq when omitted.
    sourcePath String
    Field to match. Airbyte types: a path in the emitted entity data, e.g. identifier or spec.owner; Custom: a payload field.
    targetPath String
    Entity field to match, e.g. metadata.identifier.
    operator String
    Match operator; eq when omitted.

    IdpIntegrationKindMappingEmission, IdpIntegrationKindMappingEmissionArgs

    Identifier string
    Name string
    Properties string
    JSON object.
    Identifier string
    Name string
    Properties string
    JSON object.
    identifier string
    name string
    properties string
    JSON object.
    identifier String
    name String
    properties String
    JSON object.
    identifier string
    name string
    properties string
    JSON object.
    identifier str
    name str
    properties str
    JSON object.
    identifier String
    name String
    properties String
    JSON object.

    IdpIntegrationKindMappingFieldMapping, IdpIntegrationKindMappingFieldMappingArgs

    SourceField string
    Source field.
    TargetField string
    Entity field, e.g. spec.owner.
    SourceField string
    Source field.
    TargetField string
    Entity field, e.g. spec.owner.
    source_field string
    Source field.
    target_field string
    Entity field, e.g. spec.owner.
    sourceField String
    Source field.
    targetField String
    Entity field, e.g. spec.owner.
    sourceField string
    Source field.
    targetField string
    Entity field, e.g. spec.owner.
    source_field str
    Source field.
    target_field str
    Entity field, e.g. spec.owner.
    sourceField String
    Source field.
    targetField String
    Entity field, e.g. spec.owner.

    IdpIntegrationKindMappingIngestion, IdpIntegrationKindMappingIngestionArgs

    Identifier string
    JQ for the entity identifier.
    Name string
    JQ for the entity name.
    Properties Dictionary<string, string>
    JQ per entity property; derived from the payload schema when omitted.
    Identifier string
    JQ for the entity identifier.
    Name string
    JQ for the entity name.
    Properties map[string]string
    JQ per entity property; derived from the payload schema when omitted.
    identifier string
    JQ for the entity identifier.
    name string
    JQ for the entity name.
    properties map(string)
    JQ per entity property; derived from the payload schema when omitted.
    identifier String
    JQ for the entity identifier.
    name String
    JQ for the entity name.
    properties Map<String,String>
    JQ per entity property; derived from the payload schema when omitted.
    identifier string
    JQ for the entity identifier.
    name string
    JQ for the entity name.
    properties {[key: string]: string}
    JQ per entity property; derived from the payload schema when omitted.
    identifier str
    JQ for the entity identifier.
    name str
    JQ for the entity name.
    properties Mapping[str, str]
    JQ per entity property; derived from the payload schema when omitted.
    identifier String
    JQ for the entity identifier.
    name String
    JQ for the entity name.
    properties Map<String>
    JQ per entity property; derived from the payload schema when omitted.

    Import

    Import the mapping of a kind of an account level integration

    $ pulumi import harness:platform/idpIntegrationKindMapping:IdpIntegrationKindMapping example <integration_id>/<kind>
    

    Import the mapping of a kind of an org level integration

    $ pulumi import harness:platform/idpIntegrationKindMapping:IdpIntegrationKindMapping example <org_id>/<integration_id>/<kind>
    

    Import the mapping of a kind of a project level integration

    $ pulumi import harness:platform/idpIntegrationKindMapping:IdpIntegrationKindMapping example <org_id>/<project_id>/<integration_id>/<kind>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    harness pulumi/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Viewing docs for Harness v0.17.9
    published on Thursday, Nov 12, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial