{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-private-ca/json-schema/amazon-private-ca-create-connector-request-schema.json",
  "title": "CreateConnectorRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-private-ca-connectors-api-openapi.yml#/components/schemas/CreateConnectorRequest",
  "type": "object",
  "properties": {
    "DirectoryId": {
      "type": "string",
      "description": "The identifier of the Active Directory."
    },
    "CertificateAuthorityArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the certificate authority being used."
    },
    "VpcInformation": {
      "$ref": "#/$defs/VpcInformation"
    },
    "ClientToken": {
      "type": "string",
      "description": "Idempotency token."
    },
    "Tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Metadata assigned to a connector consisting of a key-value pair."
    }
  },
  "required": [
    "DirectoryId",
    "CertificateAuthorityArn",
    "VpcInformation"
  ],
  "$defs": {
    "VpcInformation": {
      "type": "object",
      "properties": {
        "IpAddressType": {
          "type": "string",
          "enum": [
            "IPV4",
            "DUALSTACK"
          ],
          "description": "The VPC IP address type."
        },
        "SecurityGroupIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The security groups used with the connector. You can use a maximum of 4 security groups with a connector."
        }
      },
      "required": [
        "SecurityGroupIds"
      ]
    }
  }
}