Yandex Cloud
Поиск
Связаться с экспертомПопробовать бесплатно
  • Кейсы
  • Документация
  • Блог
  • Все сервисы
    • Cloud Interconnect
    • Cloud Backup
    • Cloud Registry
    • Yandex AI Studio
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Video
    • Stackland
    • Yandex Cloud Router
    • Yandex Managed Service for Trino
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Yandex StoreDoc
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Managed Service for YDB
    • Managed Service for Sharded PostgreSQL
    • Managed Service for YTsaurus
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • SpeechKit
    • DataSphere
    • Vision OCR
    • Translate
    • Yandex Neurosupport
    • Yandex Cloud Detection and Response
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • SmartCaptcha
    • Cloud Desktop
    • GOST Gateway
    • Yandex SIEM
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • SourceCraft
    • Managed Service for Prometheus®
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Message Queue
    • Serverless Integrations
    • IoT Core
    • Data Streams
    • Serverless Containers
    • Cloud Notification Service
    • Yandex Query
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Yandex Cloud Quota Manager
    • Cloud Apps
  • Статус работы сервисов
  • Marketplace
    • Популярные
    • Инфраструктура и сеть
    • Платформа данных
    • Искусственный интеллект
    • Безопасность
    • Инструменты DevOps
    • Бессерверные вычисления
    • Управление ресурсами
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Yandex Cloud Trust
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Облако для интеграторов
    • Поддержка IT-бизнеса
    • Облако для фрилансеров
    • Обучение и сертификация
    • Блог
    • Документация
    • Контент-программа
    • Мероприятия и вебинары
    • Контакты, чаты и сообщества
    • Идеи
    • Калькулятор цен
    • Тарифы
    • Акции и free tier
  • Кейсы
  • Документация
  • Блог
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ООО «Яндекс.Облако»
Terraform в Yandex Cloud
  • Начало работы
  • Настройка аутентификации Terraform-провайдера Yandex Cloud
  • Библиотека решений
    • Обзор
    • История изменений (англ.)
          • trino_access_control
          • trino_catalog
          • trino_cluster
          • trino_cluster_iam_binding

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

  • Arguments & Attributes Reference
  • Import
  1. Справочник Terraform
  2. Ресурсы (англ.)
  3. Managed Service for Trino
  4. Resources
  5. trino_access_control

yandex_trino_access_control (Resource)

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

Access control configuration for Managed Trino cluster.

Arguments & Attributes ReferenceArguments & Attributes Reference

  • catalog_session_properties [Block]. Catalog session property access control rules.
    • allow (Required)(String). Whether the rule allows setting the property. Valid values: NO, YES
    • catalog [Block]. Catalog matcher specifying what catalogs the rule is applied to. Exactly one of name_regexp, ids attributes should be set.
      • ids (List Of String). Catalog IDs rule is applied to.
      • name_regexp (String). Catalog name regexp the rule is applied to.
    • description (String). Rule description.
    • groups (List Of String). IAM group IDs the rule is applied to.
    • property [Block]. Matcher specifying what properties the rule is applied to. Exactly one of name_regexp, names attributes should be set.
      • name_regexp (String). Property name regexp the rule is applied to.
      • names (List Of String). Property names rule is applied to.
    • users (List Of String). IAM user IDs the rule is applied to.
  • catalogs [Block]. Catalog level access control rules.
    • catalog [Block]. Catalog matcher specifying what catalogs the rule is applied to. Exactly one of name_regexp, ids attributes should be set.
      • ids (List Of String). Catalog IDs rule is applied to.
      • name_regexp (String). Catalog name regexp the rule is applied to.
    • description (String). Rule description.
    • groups (List Of String). IAM group IDs the rule is applied to.
    • permission (Required)(String). Permission granted by the rule. Valid values: NONE, READ_ONLY, ALL
    • users (List Of String). IAM user IDs the rule is applied to.
  • cluster_id (Required)(String). ID of the Trino cluster. Provided by the client when the Access Control is created.
  • functions [Block]. Function level access control rules.
    • catalog [Block]. Catalog matcher specifying what catalogs the rule is applied to. Exactly one of name_regexp, ids attributes should be set.
      • ids (List Of String). Catalog IDs rule is applied to.
      • name_regexp (String). Catalog name regexp the rule is applied to.
    • description (String). Rule description.
    • function [Block]. Matcher specifying what functions the rule is applied to. Exactly one of name_regexp, names attributes should be set.
      • name_regexp (String). Function name regexp the rule is applied to.
      • names (List Of String). Function names rule is applied to.
    • groups (List Of String). IAM group IDs the rule is applied to.
    • privileges (List Of String). Privileges granted by the rule. Valid values: EXECUTE, GRANT_EXECUTE, OWNERSHIP.
    • schema [Block]. Matcher specifying what Schemas the rule is applied to. Exactly one of name_regexp, names attributes should be set.
      • name_regexp (String). Schema name regexp the rule is applied to.
      • names (List Of String). Schema names rule is applied to.
    • users (List Of String). IAM user IDs the rule is applied to.
  • procedures [Block]. Procedure level access control rules.
    • catalog [Block]. Catalog matcher specifying what catalogs the rule is applied to. Exactly one of name_regexp, ids attributes should be set.
      • ids (List Of String). Catalog IDs rule is applied to.
      • name_regexp (String). Catalog name regexp the rule is applied to.
    • description (String). Rule description.
    • groups (List Of String). IAM group IDs the rule is applied to.
    • privileges (List Of String). Privileges granted by the rule. Valid values: EXECUTE.
    • procedure [Block]. Matcher specifying what procedures the rule is applied to. Exactly one of name_regexp, names attributes should be set.
      • name_regexp (String). Procedure name regexp the rule is applied to.
      • names (List Of String). Procedure names rule is applied to.
    • schema [Block]. Matcher specifying what Schemas the rule is applied to. Exactly one of name_regexp, names attributes should be set.
      • name_regexp (String). Schema name regexp the rule is applied to.
      • names (List Of String). Schema names rule is applied to.
    • users (List Of String). IAM user IDs the rule is applied to.
  • queries [Block]. Query level access control rules.
    • description (String). Rule description.
    • groups (List Of String). IAM group IDs the rule is applied to.
    • privileges (List Of String). Privileges granted by the rule. Valid values: VIEW, EXECUTE, KILL.
    • query_owners (List Of String). Owners of queries the rule is applied to.
    • users (List Of String). IAM user IDs the rule is applied to.
  • schemas [Block]. Schema level access control rules.
    • catalog [Block]. Catalog matcher specifying what catalogs the rule is applied to. Exactly one of name_regexp, ids attributes should be set.
      • ids (List Of String). Catalog IDs rule is applied to.
      • name_regexp (String). Catalog name regexp the rule is applied to.
    • description (String). Rule description.
    • groups (List Of String). IAM group IDs the rule is applied to.
    • owner (Required)(String). Ownership granted by the rule. Valid values: NO, YES
    • schema [Block]. Matcher specifying what schemas the rule is applied to. Exactly one of name_regexp, names attributes should be set.
      • name_regexp (String). Schema name regexp the rule is applied to.
      • names (List Of String). Schema names rule is applied to.
    • users (List Of String). IAM user IDs the rule is applied to.
  • system_session_properties [Block]. System session property access control rules.
    • allow (Required)(String). Whether the rule allows setting the property. Valid values: NO, YES
    • description (String). Rule description.
    • groups (List Of String). IAM group IDs the rule is applied to.
    • property [Block]. Matcher specifying what properties the rule is applied to. Exactly one of name_regexp, names attributes should be set.
      • name_regexp (String). Property name regexp the rule is applied to.
      • names (List Of String). Property names rule is applied to.
    • users (List Of String). IAM user IDs the rule is applied to.
  • tables [Block]. Table level access control rules.
    • catalog [Block]. Catalog matcher specifying what catalogs the rule is applied to. Exactly one of name_regexp, ids attributes should be set.
      • ids (List Of String). Catalog IDs rule is applied to.
      • name_regexp (String). Catalog name regexp the rule is applied to.
    • columns [Block]. Column rules.
      • access (Required)(String). Column access mode. Valid values: NONE, ALL
      • mask (String). SQL expression mask to evaluate instead of original column values.
      • name (Required)(String). Column name.
    • description (String). Rule description.
    • filter (String). Boolean SQL expression to filter table rows for particular user.
    • groups (List Of String). IAM group IDs the rule is applied to.
    • privileges (List Of String). Privileges granted by the rule. Valid values: SELECT, INSERT, DELETE, UPDATE, OWNERSHIP, GRANT_SELECT.
    • schema [Block]. Matcher specifying what Schemas the rule is applied to. Exactly one of name_regexp, names attributes should be set.
      • name_regexp (String). Schema name regexp the rule is applied to.
      • names (List Of String). Schema names rule is applied to.
    • table [Block]. Matcher specifying what tables the rule is applied to. Exactly one of name_regexp, names attributes should be set.
      • name_regexp (String). Table name regexp the rule is applied to.
      • names (List Of String). Table names rule is applied to.
    • users (List Of String). IAM user IDs the rule is applied to.
  • timeouts [Block].
    • create (String). A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    • delete (String). A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    • update (String). A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

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.

# terraform import yandex_trino_access_control.<resource Name> <cluster Id>
terraform import yandex_trino_access_control.my_trino_access_control c9qk5**********h6a91

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

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