{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-elasticache/json-schema/amazon-elasticache-create-serverless-cache-snapshot-request-schema.json",
  "title": "CreateServerlessCacheSnapshotRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-elasticache-serverless-cache-snapshot-api-openapi.yml#/components/schemas/CreateServerlessCacheSnapshotRequest",
  "type": "object",
  "properties": {
    "ServerlessCacheSnapshotName": {
      "type": "string",
      "description": "The name for the snapshot being created. Must be unique for the customer account. Available for Valkey, Redis OSS and Serverless Memcached only. Must be between 1 and 255 characters. This value is stored as a lowercase string."
    },
    "ServerlessCacheName": {
      "type": "string",
      "description": "The name of an existing serverless cache. The snapshot is created from this cache. Available for Valkey, Redis OSS and Serverless Memcached only."
    },
    "KmsKeyId": {
      "type": "string",
      "description": "The ID of the KMS key used to encrypt the snapshot. Available for Valkey, Redis OSS and Serverless Memcached only. Default: NULL"
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "A list of tags to be added to the snapshot resource. A tag is a key-value pair. Available for Valkey, Redis OSS and Serverless Memcached only."
    }
  },
  "required": [
    "ServerlessCacheSnapshotName",
    "ServerlessCacheName"
  ],
  "$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."
        }
      }
    }
  }
}