Yandex Cloud
Поиск
Связаться с намиПопробовать бесплатно
  • Истории успеха
  • Документация
  • Блог
  • Все сервисы
  • Статус работы сервисов
  • Marketplace
    • Популярные
    • Инфраструктура и сеть
    • Платформа данных
    • Искусственный интеллект
    • Безопасность
    • Инструменты DevOps
    • Бессерверные вычисления
    • Управление ресурсами
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Безопасность
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Облако для интеграторов
    • Поддержка IT-бизнеса
    • Облако для фрилансеров
    • Обучение и сертификация
    • Блог
    • Документация
    • Контент-программа
    • Мероприятия и вебинары
    • Контакты, чаты и сообщества
    • Идеи
    • Калькулятор цен
    • Тарифы
    • Акции и free tier
  • Истории успеха
  • Документация
  • Блог
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ООО «Яндекс.Облако»
Terraform в Yandex Cloud
  • Начало работы
  • Библиотека решений
    • Обзор
    • История изменений (англ.)
          • sws_advanced_rate_limiter_profile
          • sws_security_profile
          • sws_waf_profile
          • sws_waf_rule_set_descriptor

В этой статье:

  • Example usage
  • Arguments & Attributes Reference
  1. Справочник Terraform
  2. Ресурсы (англ.)
  3. Smart Web Security
  4. Data Sources
  5. sws_advanced_rate_limiter_profile

yandex_sws_advanced_rate_limiter_profile (DataSource)

Статья создана
Yandex Cloud
Обновлена 12 февраля 2026 г.
  • Example usage
  • Arguments & Attributes Reference

Get information about ARL Profile. For more information, see the official documentation.This data source is used to define ARL Profile that can be used by other resources.

Важно

One of advanced_rate_limiter_profile_id or name should be specified.

Example usageExample usage

//
// Get information about existing SWS Advanced Rate Limiter Profile.
//
data "yandex_sws_advanced_rate_limiter_profile" "by-id" {
  advanced_rate_limiter_profile_id = yandex_sws_advanced_rate_limiter_profile.my-profile.id
}

data "yandex_sws_advanced_rate_limiter_profile" "by-name" {
  name = yandex_sws_advanced_rate_limiter_profile.my-profile.name
}

Arguments & Attributes ReferenceArguments & Attributes Reference

  • advanced_rate_limiter_profile_id (String). ID of the ARL profile.
  • advanced_rate_limiter_rule [Block]. List of rules.

Важно

Exactly one rule specifier: static_quota or dynamic_quota should be specified.

  • description (String). Description of the rule. 0-512 characters long.
  • dry_run (Bool). This allows you to evaluate backend capabilities and find the optimum limit values. Requests will not be blocked in this mode.
  • dynamic_quota [Block]. Dynamic quota. Grouping requests by a certain attribute and limiting the number of groups.
    • action (String). Action in case of exceeding this quota. Possible values: DENY.
    • characteristic [Block]. List of characteristics.

Важно

Exactly one characteristic specifier: simple_characteristic or key_characteristic should be specified.

  - `case_insensitive` (Bool). Determines case-sensitive or case-insensitive keys matching.
  - `key_characteristic` [Block]. Characteristic based on key match in the Query params, HTTP header, and HTTP cookie attributes. See [Rules](https://yandex.cloud/docs/smartwebsecurity/concepts/arl#requests-counting) for more details.
    - `type` (String). Type of key characteristic. Possible values: `COOKIE_KEY`, `HEADER_KEY`, `QUERY_KEY`.
    - `value` (String). String value of the key.
  - `simple_characteristic` [Block]. Characteristic automatically based on the Request path, HTTP method, IP address, Region, and Host attributes. See [Rules](https://yandex.cloud/docs/smartwebsecurity/concepts/arl#requests-counting) for more details.
    - `type` (String). Type of simple characteristic. Possible values: `REQUEST_PATH`, `HTTP_METHOD`, `IP`, `GEO`, `HOST`.
- `condition` [Block]. The condition for matching the rule. You can find all possibilities of condition in [gRPC specs](https://github.com/yandex-cloud/cloudapi/blob/master/yandex/cloud/smartwebsecurity/v1/security_profile.proto).
  - `authority` [Block]. 
    - `authorities` [Block]. 
      - `exact_match` (String). 
      - `exact_not_match` (String). 
      - `pire_regex_match` (String). 
      - `pire_regex_not_match` (String). 
      - `prefix_match` (String). 
      - `prefix_not_match` (String). 
  - `headers` [Block]. 
    - `name` (String). 
    - `value` [Block]. 
      - `exact_match` (String). 
      - `exact_not_match` (String). 
      - `pire_regex_match` (String). 
      - `pire_regex_not_match` (String). 
      - `prefix_match` (String). 
      - `prefix_not_match` (String). 
  - `http_method` [Block]. 
    - `http_methods` [Block]. 
      - `exact_match` (String). 
      - `exact_not_match` (String). 
      - `pire_regex_match` (String). 
      - `pire_regex_not_match` (String). 
      - `prefix_match` (String). 
      - `prefix_not_match` (String). 
  - `request_uri` [Block]. 
    - `path` [Block]. 
      - `exact_match` (String). 
      - `exact_not_match` (String). 
      - `pire_regex_match` (String). 
      - `pire_regex_not_match` (String). 
      - `prefix_match` (String). 
      - `prefix_not_match` (String). 
    - `queries` [Block]. 
      - `key` (**Required**)(String). 
      - `value` [Block]. 
        - `exact_match` (String). 
        - `exact_not_match` (String). 
        - `pire_regex_match` (String). 
        - `pire_regex_not_match` (String). 
        - `prefix_match` (String). 
        - `prefix_not_match` (String). 
  - `source_ip` [Block]. 
    - `geo_ip_match` [Block]. 
      - `locations` (List Of String). 
    - `geo_ip_not_match` [Block]. 
      - `locations` (List Of String). 
    - `ip_ranges_match` [Block]. 
      - `ip_ranges` (List Of String). 
    - `ip_ranges_not_match` [Block]. 
      - `ip_ranges` (List Of String). 
- `limit` (Number). Desired maximum number of requests per period.
- `period` (Number). Period of time in seconds.
  • name (String). Name of the rule. The name is unique within the ARL profile. 1-50 characters long.
  • priority (Number). Determines the priority in case there are several matched rules. Enter an integer within the range of 1 and 999999. The rule priority must be unique within the entire ARL profile. A lower numeric value means a higher priority.
  • static_quota [Block]. Static quota. Counting each request individually.
    • action (String). Action in case of exceeding this quota. Possible values: DENY.
    • condition [Block]. The condition for matching the rule. You can find all possibilities of condition in gRPC specs.
      • authority [Block].
        • authorities [Block].
          • exact_match (String).
          • exact_not_match (String).
          • pire_regex_match (String).
          • pire_regex_not_match (String).
          • prefix_match (String).
          • prefix_not_match (String).
      • headers [Block].
        • name (String).
        • value [Block].
          • exact_match (String).
          • exact_not_match (String).
          • pire_regex_match (String).
          • pire_regex_not_match (String).
          • prefix_match (String).
          • prefix_not_match (String).
      • http_method [Block].
        • http_methods [Block].
          • exact_match (String).
          • exact_not_match (String).
          • pire_regex_match (String).
          • pire_regex_not_match (String).
          • prefix_match (String).
          • prefix_not_match (String).
      • request_uri [Block].
        • path [Block].
          • exact_match (String).
          • exact_not_match (String).
          • pire_regex_match (String).
          • pire_regex_not_match (String).
          • prefix_match (String).
          • prefix_not_match (String).
        • queries [Block].
          • key (Required)(String).
          • value [Block].
            • exact_match (String).
            • exact_not_match (String).
            • pire_regex_match (String).
            • pire_regex_not_match (String).
            • prefix_match (String).
            • prefix_not_match (String).
      • source_ip [Block].
        • geo_ip_match [Block].
          • locations (List Of String).
        • geo_ip_not_match [Block].
          • locations (List Of String).
        • ip_ranges_match [Block].
          • ip_ranges (List Of String).
        • ip_ranges_not_match [Block].
          • ip_ranges (List Of String).
    • limit (Number). Desired maximum number of requests per period.
    • period (Number). Period of time in seconds.
  • cloud_id (String). The Cloud ID which resource belongs to. If it is not provided, the default provider cloud-id is used.
  • created_at (Read-Only) (String). The creation timestamp of the resource.
  • description (String). The resource description.
  • folder_id (String). The folder identifier that resource belongs to. If it is not provided, the default provider folder-id is used.
  • id (String).
  • labels (Map Of String). A set of key/value label pairs which assigned to resource.
  • name (String). The resource name.

Была ли статья полезна?

Предыдущая
smartcaptcha_captcha
Следующая
sws_security_profile
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ООО «Яндекс.Облако»