{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-elasticache/json-schema/amazon-elasticache-cache-subnet-group-message-schema.json",
  "title": "CacheSubnetGroupMessage",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-elasticache-cache-subnet-group-api-openapi.yml#/components/schemas/CacheSubnetGroupMessage",
  "type": "object",
  "properties": {
    "Marker": {
      "type": "string",
      "description": "Provides an identifier to allow retrieval of paginated results."
    },
    "CacheSubnetGroups": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CacheSubnetGroup"
      },
      "description": "A list of cache subnet groups. Each element in the list contains detailed information about one group."
    }
  },
  "$defs": {
    "AvailabilityZone": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of the Availability Zone."
        }
      }
    },
    "CacheSubnetGroup": {
      "type": "object",
      "properties": {
        "CacheSubnetGroupName": {
          "type": "string",
          "description": "The name of the cache subnet group."
        },
        "CacheSubnetGroupDescription": {
          "type": "string",
          "description": "The description of the cache subnet group."
        },
        "VpcId": {
          "type": "string",
          "description": "The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group."
        },
        "Subnets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Subnet"
          },
          "description": "A list of subnets associated with the cache subnet group."
        },
        "ARN": {
          "type": "string",
          "description": "The ARN (Amazon Resource Name) of the cache subnet group."
        },
        "SupportedNetworkTypes": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "ipv4",
              "ipv6",
              "dual_stack"
            ]
          },
          "description": "Either ipv4 | ipv6 | dual_stack. IPv6 is supported for workloads using Valkey 7.2 and above, Redis OSS engine version 6.2 to 7.1 or Memcached engine version 1.6.6 and above on all instances built on the Nitro system."
        }
      }
    },
    "Subnet": {
      "type": "object",
      "properties": {
        "SubnetIdentifier": {
          "type": "string",
          "description": "The unique identifier for the subnet."
        },
        "SubnetAvailabilityZone": {
          "$ref": "#/$defs/AvailabilityZone"
        },
        "SubnetOutpost": {
          "$ref": "#/$defs/SubnetOutpost"
        },
        "SupportedNetworkTypes": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "ipv4",
              "ipv6",
              "dual_stack"
            ]
          },
          "description": "Either ipv4 | ipv6 | dual_stack. IPv6 is supported for workloads using Valkey 7.2 and above, Redis OSS engine version 6.2 to 7.1 or Memcached engine version 1.6.6 and above on all instances built on the Nitro system."
        }
      }
    },
    "SubnetOutpost": {
      "type": "object",
      "properties": {
        "SubnetOutpostArn": {
          "type": "string",
          "description": "The outpost ARN of the subnet."
        }
      }
    }
  }
}