{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-app-runner/json-schema/aws-app-runner-create-connection-request-schema.json",
  "title": "CreateConnectionRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-app-runner-connections-api-openapi.yml#/components/schemas/CreateConnectionRequest",
  "type": "object",
  "properties": {
    "ConnectionName": {
      "type": "string",
      "description": "A name for the new connection. It must be unique across all App Runner connections for the Amazon Web Services account in the Amazon Web Services Region."
    },
    "ProviderType": {
      "type": "string",
      "enum": [
        "GITHUB",
        "BITBUCKET"
      ],
      "description": "The source repository provider."
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "A list of metadata items that you can associate with your connection resource. A tag is a key-value pair."
    }
  },
  "required": [
    "ConnectionName",
    "ProviderType"
  ],
  "$defs": {
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The key of the tag."
        },
        "Value": {
          "type": "string",
          "description": "The value of the tag."
        }
      }
    }
  }
}