{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudfront/json-schema/cloudfront-create-anycast-ip-list-request-schema.json",
  "title": "CreateAnycastIpListRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudfront-anycast-ip-list-api-openapi.yml#/components/schemas/CreateAnycastIpListRequest",
  "type": "object",
  "properties": {
    "Name": {
      "type": "string",
      "description": "Name of the Anycast static IP list."
    },
    "IpCount": {
      "type": "integer",
      "description": "The number of static IP addresses that are allocated to the Anycast static IP list. Valid values: 21 or 3."
    },
    "Tags": {
      "$ref": "#/$defs/Tags"
    },
    "IpAddressType": {
      "type": "string",
      "enum": [
        "ipv4",
        "ipv6",
        "dualstack"
      ],
      "description": "The IP address type for the Anycast static IP list. You can specify one of the following options: ipv4 only ipv6 only dualstack - Allocate a list of both IPv4 and IPv6 addresses"
    },
    "IpamCidrConfigs": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/IpamCidrConfig"
      },
      "description": "A list of IPAM CIDR configurations that specify the IP address ranges and IPAM pool settings for creating the Anycast static IP list."
    }
  },
  "required": [
    "Name",
    "IpCount"
  ],
  "$defs": {
    "IpamCidrConfig": {
      "type": "object",
      "properties": {
        "Cidr": {
          "type": "string",
          "description": "The CIDR that specifies the IP address range for this IPAM configuration."
        },
        "IpamPoolArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the IPAM pool that the CIDR block is assigned to."
        },
        "AnycastIp": {
          "type": "string",
          "description": "The specified Anycast IP address allocated from the IPAM pool for this CIDR configuration."
        },
        "Status": {
          "type": "string",
          "enum": [
            "provisioned",
            "failed-provision",
            "provisioning",
            "deprovisioned",
            "failed-deprovision",
            "deprovisioning",
            "advertised",
            "failed-advertise",
            "advertising",
            "withdrawn",
            "failed-withdraw",
            "withdrawing"
          ],
          "description": "The current status of the IPAM CIDR configuration."
        }
      },
      "required": [
        "Cidr",
        "IpamPoolArn"
      ]
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "A string that contains Tag key. The string length should be between 1 and 128 characters. Valid characters include a-z, A-Z, 0-9, space, and the special characters _ - . : / = + @."
        },
        "Value": {
          "type": "string",
          "description": "A string that contains an optional Tag value. The string length should be between 0 and 256 characters. Valid characters include a-z, A-Z, 0-9, space, and the special characters _ - . : / = + @."
        }
      },
      "required": [
        "Key"
      ]
    },
    "Tags": {
      "type": "object",
      "properties": {
        "Items": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Tag"
          },
          "description": "A complex type that contains Tag elements."
        }
      }
    }
  }
}