{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/instaclustr/json-schema/instaclustr-cluster-data-centre-all-aws-prefix-list-firewall-rules-v1-schema.json",
  "title": "ClusterDataCentreAllAwsPrefixListFirewallRulesV1",
  "description": "A resource containing all AWS Prefix List based firewall rules in an Instaclustr managed cluster data centre. Only supported for Bring Your Own Cloud (BYOC) data centres.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/instaclustr-aws-prefix-list-firewall-rules-v1-api-openapi.yml#/components/schemas/ClusterDataCentreAllAwsPrefixListFirewallRulesV1",
  "required": [
    "clusterDataCentreId",
    "firewallRules"
  ],
  "type": "object",
  "properties": {
    "clusterDataCentreId": {
      "type": "string",
      "description": "ID of the cluster data centre",
      "format": "uuid",
      "x-insta-unchangeable": true
    },
    "id": {
      "type": "string",
      "description": "ID of the cluster data centre prefix list firewall rules resource",
      "format": "uuid",
      "readOnly": true
    },
    "firewallRules": {
      "type": "array",
      "description": "AWS prefix list firewall rules for the cluster data centre",
      "items": {
        "$ref": "#/$defs/ClusterDataCentreAllAwsPrefixListFirewallRuleV1"
      },
      "x-terraform-field-name": "firewall_rule",
      "x-terraform-ignore-order": true
    },
    "status": {
      "type": "string",
      "description": "Aggregate status of the AWS prefix list firewall rules.",
      "readOnly": true,
      "x-terraform-field-status": true
    }
  },
  "$defs": {
    "ClusterAllFirewallRuleTypesV2": {
      "type": "string",
      "description": "The type of firewall rule.",
      "enum": [
        "APACHE_ZOOKEEPER",
        "CADENCE",
        "CADENCE_GRPC",
        "CADENCE_HTTP_API",
        "CADENCE_WEB",
        "CASSANDRA",
        "CASSANDRA_CQL",
        "CLICKHOUSE",
        "CLICKHOUSE_WEB",
        "ELASTICSEARCH",
        "KAFKA",
        "KAFKA_CONNECT",
        "KAFKA_ENCRYPTION",
        "KAFKA_MTLS",
        "KAFKA_NO_ENCRYPTION",
        "KAFKA_PRIVATE_SASL_PLAINTEXT_LISTENER",
        "KAFKA_PUBLIC_SASL_PLAINTEXT_LISTENER",
        "KAFKA_PRIVATE_PLAINTEXT_LISTENER",
        "KAFKA_PUBLIC_PLAINTEXT_LISTENER",
        "KAFKA_PRIVATE_SSL_LISTENER",
        "KAFKA_PUBLIC_SSL_LISTENER",
        "KAFKA_REST_PROXY",
        "KAFKA_SCHEMA_REGISTRY",
        "KARAPACE_REST_PROXY",
        "KARAPACE_SCHEMA_REGISTRY",
        "OPENSEARCH",
        "OPENSEARCH_DASHBOARDS",
        "PGBOUNCER",
        "POSTGRESQL",
        "REDIS",
        "VALKEY",
        "SEARCH_DASHBOARDS",
        "SECURE_APACHE_ZOOKEEPER",
        "SPARK",
        "SPARK_JOBSERVER",
        "SHOTOVER_PROXY",
        "MCP_GATEWAY",
        "KAFKA_DISKLESS"
      ],
      "x-insta-unchangeable": true
    },
    "ClusterDataCentreAllAwsPrefixListFirewallRuleV1": {
      "required": [
        "prefixListId",
        "type"
      ],
      "type": "object",
      "properties": {
        "deferredReason": {
          "type": "string",
          "description": "The reason (if needed) for the deferred status of the AWS prefix list firewall rule.",
          "readOnly": true
        },
        "prefixListId": {
          "type": "string",
          "description": "The prefix list ID of the AWS prefix list firewall rule.",
          "x-insta-unchangeable": true
        },
        "id": {
          "type": "string",
          "description": "ID of the AWS prefix list firewall rule.",
          "format": "uuid",
          "readOnly": true
        },
        "type": {
          "$ref": "#/$defs/ClusterAllFirewallRuleTypesV2"
        }
      },
      "description": "Definition of an AWS Prefix List based firewall rule to be applied to a cluster data centre. Only supported for Bring Your Own Cloud (BYOC) data centres."
    }
  }
}