{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-elasticache/json-schema/amazon-elasticache-create-cache-subnet-group-message-schema.json",
  "title": "CreateCacheSubnetGroupMessage",
  "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/CreateCacheSubnetGroupMessage",
  "type": "object",
  "properties": {
    "CacheSubnetGroupName": {
      "type": "string",
      "description": "A name for the cache subnet group. This value is stored as a lowercase string. Constraints: Must contain no more than 255 alphanumeric characters or hyphens. Example: mysubnetgroup"
    },
    "CacheSubnetGroupDescription": {
      "type": "string",
      "description": "A description for the cache subnet group."
    },
    "SubnetIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "A list of VPC subnet IDs for the cache subnet group."
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted."
    }
  },
  "required": [
    "CacheSubnetGroupName",
    "CacheSubnetGroupDescription",
    "SubnetIds"
  ],
  "$defs": {
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The key for the tag. May not be null."
        },
        "Value": {
          "type": "string",
          "description": "The tag's value. May be null."
        }
      }
    }
  }
}