Yandex Cloud
КейсыДокументация
ПрезентацияСвязаться с намиНачать бесплатно
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Сделано на Gravity UI
Проект Яндекса
© 2026 ООО «Яндекс.Облако»
Terraform в Yandex Cloud
  • Начало работы
  • Настройка аутентификации Terraform-провайдера Yandex Cloud
  • Вопросы и ответы
  • Библиотека решений
    • Обзор
    • История изменений (англ.)
          • sws_advanced_rate_limiter_profile
          • sws_domain
          • sws_load_balancer
          • sws_match_list
          • sws_security_profile
          • sws_security_profile_advanced_rate_limiter_profile_attachment
          • sws_security_profile_waf_profile_attachment
          • sws_waf_profile

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

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

yandex_sws_security_profile_advanced_rate_limiter_profile_attachment (Resource)

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

Attaches an Advanced Rate Limiter profile to a Smart Web Security profile. Do not manage advanced_rate_limiter_profile_id in yandex_sws_security_profile when using this resource.

Example usageExample usage

resource "yandex_sws_advanced_rate_limiter_profile" "arl" {
  name = "example-arl-profile"

  advanced_rate_limiter_rule {
    name     = "example-rule"
    priority = 1
    dry_run  = true

    static_quota {
      action = "DENY"
      limit  = 1000
      period = 60
    }
  }
}

resource "yandex_sws_security_profile" "security_profile" {
  name                     = "example-security-profile"
  default_action           = "ALLOW"
  disallow_data_processing = false
}

resource "yandex_sws_security_profile_advanced_rate_limiter_profile_attachment" "attachment" {
  security_profile_id              = yandex_sws_security_profile.security_profile.id
  advanced_rate_limiter_profile_id = yandex_sws_advanced_rate_limiter_profile.arl.id
}

Arguments & Attributes ReferenceArguments & Attributes Reference

  • advanced_rate_limiter_profile_id (Required)(String). ID of the Advanced Rate Limiter profile.
  • id (String).
  • security_profile_id (Required)(String). ID of the Smart Web Security profile.
  • timeouts [Block].
    • create (String).
    • delete (String).
    • read (String).

ImportImport

The resource can be imported by using their resource ID. For getting it you can use Yandex Cloud Web Console or Yandex Cloud CLI.

#!/bin/bash

terraform import yandex_sws_security_profile_advanced_rate_limiter_profile_attachment.attachment '<security_profile_id>/<advanced_rate_limiter_profile_id>'

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

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