---
title: "CreateCatalogResourceMapping"
url: "https://us-prod.jeffyongtaotang.com/apis/konnect-service-catalog-1/versions/cdbef9b7-686c-4189-bbc8-55c727a972e8/schemas/CreateCatalogResourceMapping"
---

> Full API specification: https://us-prod.jeffyongtaotang.com/apis/konnect-service-catalog-1/versions/cdbef9b7-686c-4189-bbc8-55c727a972e8.md

# CreateCatalogResourceMapping

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Konnect Service Catalog
  version: 1.3.0
servers:
  - url: https://us.api.konghq.com/v1
    description: United-States Production region
  - url: https://eu.api.konghq.com/v1
    description: Europe Production region
  - url: https://au.api.konghq.com/v1
    description: Australia Production region
  - url: https://me.api.konghq.com/v1
    description: Middle-East Production region
  - url: https://in.api.konghq.com/v1
    description: India Production region
  - url: https://sg.api.konghq.com/v1
    description: Singapore Production region
components:
  schemas:
    CatalogResourceId:
      type: string
      format: base64url
      example: 4UdXnoaDYYJsH_Ir
      description: The resource ID.
      minLength: 16
      maxLength: 16
    CreateCatalogResourceMappingResourceByConfig:
      type: object
      title: CreateCatalogResourceMappingResourceByConfig
      additionalProperties: false
      required:
        - integration_instance
        - type
        - config
      properties:
        integration_instance:
          type: string
          description: The `id` or `name` of the integration instance the resource belongs
            to.
          example: aws-lambda-prod
        type:
          $ref: "#/components/schemas/CatalogResourceType"
        config:
          $ref: "#/components/schemas/CatalogResourceConfig"
    CatalogResourceType:
      type: string
      description: >
        The resource type. Available resource types are compiled from the
        integrations installed within the catalog.
      minLength: 1
      maxLength: 120
      example: gateway_svc
    CatalogResourceConfig:
      x-speakeasy-type-override: any
      type: object
      description: >
        JSON object representing the properties used to identify the resource in
        the third-party system.

        The schema depends on the resource type and is dynamically registered at
        runtime.
      additionalProperties: true
      example:
        control_plane_id: ccadfb0a-56cd-4f74-955d-aec1d87157c8
        gateway_service_id: 94896d05-0c4d-45eb-aae3-de754885dd58
    CreateCatalogResourceMapping:
      type: object
      additionalProperties: false
      required:
        - service
        - resource
      properties:
        service:
          type: string
          description: The `id` or `name` of the service to map the resource to.
          example: user-svc
          x-speakeasy-name-override: service_id
        resource:
          oneOf:
            - $ref: "#/components/schemas/CatalogResourceId"
            - $ref: "#/components/schemas/CreateCatalogResourceMappingResourceByConfig"
```
