Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Terraform in Yandex Cloud
  • Getting started
  • Solution library
    • Overview
    • Release notes
          • serverless_eventrouter_bus
          • serverless_eventrouter_connector
          • serverless_eventrouter_rule

In this article:

  • Example Usage
  • Schema
  • Required
  • Optional
  • Read-Only
  • Nested Schema for timeouts
  • Nested Schema for timer
  • Nested Schema for yds
  • Nested Schema for ymq
  • Import
  1. Terraform reference
  2. Resources
  3. Serverless Integrations
  4. Resources
  5. serverless_eventrouter_connector

yandex_serverless_eventrouter_connector (Resource)

Written by
Yandex Cloud
Updated at August 7, 2025
  • Example Usage
  • Schema
    • Required
    • Optional
    • Read-Only
    • Nested Schema for timeouts
    • Nested Schema for timer
    • Nested Schema for yds
    • Nested Schema for ymq
  • Import

Allows management of a Yandex Cloud Serverless Event Router Connector.

Example UsageExample Usage

//
// TBD
//

SchemaSchema

RequiredRequired

  • bus_id (String) ID of the bus that the connector belongs to
  • name (String) Name of the connector

OptionalOptional

  • deletion_protection (Boolean) Deletion protection
  • description (String) Description of the connector
  • labels (Map of String) Connector labels
  • timeouts (Block, Optional) (see below for nested schema)
  • timer (Block List) Timer source of the connector (see below for nested schema)
  • yds (Block List) Data Stream source of the connector (see below for nested schema)
  • ymq (Block List) Message Queue source of the connector (see below for nested schema)

Read-OnlyRead-Only

  • cloud_id (String) ID of the cloud that the connector resides in
  • created_at (String) Creation timestamp
  • folder_id (String) ID of the folder that the connector resides in
  • id (String) The ID of this resource.

Nested Schema for Nested Schema for timeouts

Optional:

  • 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.
  • read (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). Read operations occur during any refresh or planning operation when refresh is enabled.
  • 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).

Nested Schema for Nested Schema for timer

Required:

  • cron_expression (String) Cron expression. Cron expression with seconds. Example: 0 45 16 ? * *

Optional:

  • payload (String) Payload to be passed to bus
  • timezone (String) Timezone in tz database format. Example: Europe/Moscow

Nested Schema for Nested Schema for yds

Required:

  • consumer (String) Consumer name
  • database (String) Stream database
  • service_account_id (String) Service account which has read permission on the stream
  • stream_name (String) Stream name, absolute or relative

Nested Schema for Nested Schema for ymq

Required:

  • queue_arn (String) Queue ARN. Example: yrn:yc:ymq:ru-central1:aoe***:test
  • service_account_id (String) Service account which has read access to the queue

Optional:

  • batch_size (Number) Batch size for polling
  • polling_timeout (String) Queue polling timeout
  • visibility_timeout (String) Queue visibility timeout override

ImportImport

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

# terraform import yandex_serverless_eventrouter_connector.<resource Name> <resource Id>
terraform import yandex_serverless_eventrouter_connector.evr_con ...

Was the article helpful?

Previous
serverless_eventrouter_bus
Next
serverless_eventrouter_rule
© 2025 Direct Cursus Technology L.L.C.