{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/instaclustr/json-schema/instaclustr-aws-prefix-list-firewall-rule-v1-schema.json",
  "title": "AwsPrefixListFirewallRuleV1",
  "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.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/instaclustr-aws-prefix-list-firewall-rule-v1-api-openapi.yml#/components/schemas/AwsPrefixListFirewallRuleV1",
  "required": [
    "clusterDataCentreId",
    "prefixListId",
    "type"
  ],
  "type": "object",
  "properties": {
    "clusterDataCentreId": {
      "type": "string",
      "description": "ID of the cluster data centre for the AWS prefix list firewall rule.",
      "format": "uuid",
      "x-terraform-force-new": true
    },
    "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-terraform-force-new": true
    },
    "id": {
      "type": "string",
      "description": "ID of the AWS prefix list firewall rule.",
      "format": "uuid",
      "readOnly": true
    },
    "type": {
      "$ref": "#/$defs/FirewallRuleTypesV2"
    },
    "status": {
      "type": "string",
      "description": "The status of the AWS prefix list firewall rule.",
      "readOnly": true,
      "x-terraform-field-status": true
    }
  },
  "$defs": {
    "FirewallRuleTypesV2": {
      "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-terraform-force-new": true
    }
  }
}