{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aiven/json-schema/aiven-custom-cloud-environment-update-request-body-schema.json",
  "title": "CustomCloudEnvironmentUpdateRequestBody",
  "description": "CustomCloudEnvironmentUpdateRequestBody",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aiven-custom-cloud-api-openapi.yml#/components/schemas/CustomCloudEnvironmentUpdateRequestBody",
  "type": "object",
  "properties": {
    "aws_iam_role_arn": {
      "type": "string",
      "maxLength": 2048,
      "description": "Amazon Resource Name",
      "title": "ARN"
    },
    "cloud_provider": {
      "type": "string",
      "description": "Cloud provider for the BYOC cloud",
      "enum": [
        "aws",
        "azure",
        "google",
        "oracle"
      ]
    },
    "cloud_region": {
      "type": "string",
      "maxLength": 32,
      "description": "Cloud region for the BYOC cloud"
    },
    "contact_emails": {
      "type": "array",
      "minItems": 1,
      "maxItems": 10,
      "description": "Email addresses for notifications and alerts for this BYOC cloud",
      "items": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string",
            "maxLength": 254,
            "description": "User email address"
          },
          "real_name": {
            "type": "string",
            "maxLength": 256,
            "description": "User real name"
          },
          "role": {
            "type": "string",
            "maxLength": 256,
            "description": "Role of this user"
          }
        },
        "required": [
          "email"
        ]
      }
    },
    "deployment_model": {
      "type": "string",
      "description": "Deployment model for the BYOC cloud",
      "enum": [
        "direct_ipsec_ingress",
        "ipsec_ingress",
        "standard",
        "standard_public",
        "pci_dss",
        "hipaa"
      ]
    },
    "display_name": {
      "type": "string",
      "maxLength": 64,
      "description": "Short name for this BYOC cloud"
    },
    "google_privilege_bearing_service_account_id": {
      "type": "string",
      "maxLength": 311,
      "description": "Google account identifier",
      "title": "Account ID"
    },
    "oracle_compartment_id": {
      "type": "string",
      "maxLength": 2048,
      "description": "Used to uniquely identify an asset in Oracle's cloud. May refer to a range of object types including instance, tenancy, subnet and more.",
      "title": "Oracle Cloud ID"
    },
    "reserved_cidr": {
      "type": "string",
      "maxLength": 18,
      "description": "CIDR range reserved for Aiven provisioned networks in the BYOC cloud"
    },
    "tags": {
      "type": "object",
      "description": "Set of resource tags",
      "properties": {}
    }
  }
}