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

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

# ServerlessV1CreateConfigurationRequest

## 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
    ServerlessV1CreateDataPlaneGroup:
      description: Object that describes where to deploy a serverless v1 gateway,
        along with how many instances.
      type: object
      properties:
        provider:
          $ref: "#/components/schemas/ServerlessV1ProviderName"
        region:
          description: Region of cloud provider to deploy serverless v1 gateways to.
          type: string
          example: us
        environment:
          $ref: "#/components/schemas/DataPlaneGroupEnvironmentConfigurations"
      additionalProperties: false
      required:
        - provider
        - region
      title: CreateCloudGatewayConfigurationServerlessV1DataplaneGroup
    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
    ServerlessV1ProviderName:
      description: Name of cloud provider.
      type: string
      example: aws
      enum:
        - aws
    DataPlaneGroupEnvironmentConfigurations:
      description: Array of environment configurations for a data-plane group.
      type: array
      items:
        $ref: "#/components/schemas/DataPlaneGroupEnvironmentConfigurationItem"
      title: Data-Plane Group Environment Configurations
    DataPlaneGroupEnvironmentConfigurationItem:
      description: Object that describes the environment configurations for a
        data-plane group. Env names must be prefixed by KONG_.
      type: object
      properties:
        name:
          description: Name of environment variable. Only env names prefixed by KONG_ are
            allowed.
          type: string
          example: KONG_LOG_LEVEL
        value:
          description: Value assigned to the corresponding environment variable.
          type: string
          example: INFO
      additionalProperties: false
      required:
        - name
        - value
      title: Data-Plane Group Environment Configurations
    ServerlessV1CreateConfigurationRequest:
      type: object
      allOf:
        - $ref: "#/components/schemas/BaseCreateConfigurationRequest"
        - properties:
            kind:
              description: |
                Provisioning backend to use for deploying data-plane groups.
              type: string
              enum:
                - serverless.v1
            dataplane_groups:
              description: List of data-plane groups that describe where to deploy instances,
                along with how many instances.
              type: array
              items:
                $ref: "#/components/schemas/ServerlessV1CreateDataPlaneGroup"
          required:
            - dataplane_groups
```
