---
title: "ServerlessCreateConfigurationRequest"
url: "https://nov18-dev.movespot.fyi/apis/konnect-cloud-gateways-internal-2/versions/53f44c10-7c5c-44ed-9e12-01aa08aa0a32/schemas/ServerlessCreateConfigurationRequest"
---

> Full API specification: https://nov18-dev.movespot.fyi/apis/konnect-cloud-gateways-internal-2/versions/53f44c10-7c5c-44ed-9e12-01aa08aa0a32.md

# ServerlessCreateConfigurationRequest

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Konnect Cloud Gateways
  version: 3.0.0
servers:
  - url: https://global.api.konghq.com/v3
    description: Base URL for the global region
components:
  schemas:
    BaseCreateConfigurationRequest:
      type: object
      properties:
        kind:
          description: |
            Provisioning backend to use for deploying data-plane groups.
          type: string
          enum:
            - dedicated.v0
            - serverless.v0
            - serverless.v1
        control_plane_id:
          description: ID of the control-plane this configuration belongs to.
          type: string
          format: uuid
          example: b5922611-a763-499e-8d86-5643de122768
        control_plane_geo:
          $ref: "#/components/schemas/ControlPlaneGeo"
      discriminator:
        propertyName: kind
        mapping:
          serverless.v0: "#/components/schemas/ServerlessCreateConfigurationRequest"
          dedicated.v0: "#/components/schemas/DedicatedCreateConfigurationRequest"
          serverless.v1: "#/components/schemas/ServerlessV1CreateConfigurationRequest"
      required:
        - kind
        - control_plane_id
        - control_plane_geo
      title: Base Create Configuration Request
    ServerlessCreateDataPlaneGroup:
      type: object
      properties:
        region:
          description: Region to deploy serverless gateways to.
          type: string
          example: us
      additionalProperties: false
      required:
        - region
    ControlPlaneGeo:
      description: Set of control-plane geos supported for deploying cloud-gateways
        configurations.
      type: string
      enum:
        - us
        - eu
        - au
        - me
        - in
        - sg
      title: Control-Plane Geo
    ServerlessCreateConfigurationRequest:
      type: object
      allOf:
        - $ref: "#/components/schemas/BaseCreateConfigurationRequest"
        - properties:
            kind:
              description: |
                Provisioning backend to use for deploying data-plane groups.
              type: string
              enum:
                - serverless.v0
            dataplane_groups:
              description: >
                List of data-plane groups that describe where to deploy
                serverless instances, along with how many

                instances. As part of serverless business logic, the max number
                of data-plane groups a serverless

                configuration can have is 1.
              type: array
              items:
                $ref: "#/components/schemas/ServerlessCreateDataPlaneGroup"
              maxLength: 1
          required:
            - dataplane_groups
```
