Properties
| Name | Type | Description |
|---|---|---|
| target | object | The configuration target. You must set the target to `country` when specifying a country code in the rule. |
| value | string | The two-letter ISO-3166-1 alpha-2 code to match. For more information, refer to [IP Access rules: Parameters](https://developers.cloudflare.com/waf/tools/ip-access-rules/parameters/#country). |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/firewall_country_configuration",
"title": "A country configuration.",
"properties": {
"target": {
"description": "The configuration target. You must set the target to `country` when specifying a country code in the rule.",
"enum": [
"country"
],
"example": "country"
},
"value": {
"description": "The two-letter ISO-3166-1 alpha-2 code to match. For more information, refer to [IP Access rules: Parameters](https://developers.cloudflare.com/waf/tools/ip-access-rules/parameters/#country).",
"example": "US",
"type": "string"
}
}
}