import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface ServerlessEventrouterRuleConfig extends cdktf.TerraformMetaArguments { /** * ID of the bus that the rule belongs to * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#bus_id ServerlessEventrouterRule#bus_id} */ readonly busId: string; /** * Description of the rule * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#description ServerlessEventrouterRule#description} */ readonly description?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#id ServerlessEventrouterRule#id} * * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. */ readonly id?: string; /** * JQ filter for matching events * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#jq_filter ServerlessEventrouterRule#jq_filter} */ readonly jqFilter?: string; /** * Rule labels * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#labels ServerlessEventrouterRule#labels} */ readonly labels?: { [key: string]: string; }; /** * Name of the rule * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#name ServerlessEventrouterRule#name} */ readonly name: string; /** * container block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#container ServerlessEventrouterRule#container} */ readonly container?: ServerlessEventrouterRuleContainer[] | cdktf.IResolvable; /** * function block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#function ServerlessEventrouterRule#function} */ readonly function?: ServerlessEventrouterRuleFunction[] | cdktf.IResolvable; /** * gateway_websocket_broadcast block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#gateway_websocket_broadcast ServerlessEventrouterRule#gateway_websocket_broadcast} */ readonly gatewayWebsocketBroadcast?: ServerlessEventrouterRuleGatewayWebsocketBroadcast[] | cdktf.IResolvable; /** * logging block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#logging ServerlessEventrouterRule#logging} */ readonly logging?: ServerlessEventrouterRuleLogging[] | cdktf.IResolvable; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#timeouts ServerlessEventrouterRule#timeouts} */ readonly timeouts?: ServerlessEventrouterRuleTimeouts; /** * workflow block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#workflow ServerlessEventrouterRule#workflow} */ readonly workflow?: ServerlessEventrouterRuleWorkflow[] | cdktf.IResolvable; /** * yds block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#yds ServerlessEventrouterRule#yds} */ readonly yds?: ServerlessEventrouterRuleYds[] | cdktf.IResolvable; /** * ymq block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#ymq ServerlessEventrouterRule#ymq} */ readonly ymq?: ServerlessEventrouterRuleYmq[] | cdktf.IResolvable; } export interface ServerlessEventrouterRuleContainerBatchSettings { /** * Maximum batch size: rule will send a batch if its lifetime exceeds this value * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#cutoff ServerlessEventrouterRule#cutoff} */ readonly cutoff: string; /** * Maximum batch size: rule will send a batch if total size of events exceeds this value * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#max_bytes ServerlessEventrouterRule#max_bytes} */ readonly maxBytes?: number; /** * Maximum batch size: rule will send a batch if number of events exceeds this value * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#max_count ServerlessEventrouterRule#max_count} */ readonly maxCount?: number; } export declare function serverlessEventrouterRuleContainerBatchSettingsToTerraform(struct?: ServerlessEventrouterRuleContainerBatchSettingsOutputReference | ServerlessEventrouterRuleContainerBatchSettings): any; export declare function serverlessEventrouterRuleContainerBatchSettingsToHclTerraform(struct?: ServerlessEventrouterRuleContainerBatchSettingsOutputReference | ServerlessEventrouterRuleContainerBatchSettings): any; export declare class ServerlessEventrouterRuleContainerBatchSettingsOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): ServerlessEventrouterRuleContainerBatchSettings | undefined; set internalValue(value: ServerlessEventrouterRuleContainerBatchSettings | undefined); private _cutoff?; get cutoff(): string; set cutoff(value: string); get cutoffInput(): string; private _maxBytes?; get maxBytes(): number; set maxBytes(value: number); resetMaxBytes(): void; get maxBytesInput(): number; private _maxCount?; get maxCount(): number; set maxCount(value: number); resetMaxCount(): void; get maxCountInput(): number; } export interface ServerlessEventrouterRuleContainer { /** * Container ID * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#container_id ServerlessEventrouterRule#container_id} */ readonly containerId: string; /** * Container revision ID * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#container_revision_id ServerlessEventrouterRule#container_revision_id} */ readonly containerRevisionId?: string; /** * Endpoint HTTP path to invoke * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#path ServerlessEventrouterRule#path} */ readonly path?: string; /** * Service account which should be used to call a container * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#service_account_id ServerlessEventrouterRule#service_account_id} */ readonly serviceAccountId?: string; /** * batch_settings block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#batch_settings ServerlessEventrouterRule#batch_settings} */ readonly batchSettings?: ServerlessEventrouterRuleContainerBatchSettings; } export declare function serverlessEventrouterRuleContainerToTerraform(struct?: ServerlessEventrouterRuleContainer | cdktf.IResolvable): any; export declare function serverlessEventrouterRuleContainerToHclTerraform(struct?: ServerlessEventrouterRuleContainer | cdktf.IResolvable): any; export declare class ServerlessEventrouterRuleContainerOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): ServerlessEventrouterRuleContainer | cdktf.IResolvable | undefined; set internalValue(value: ServerlessEventrouterRuleContainer | cdktf.IResolvable | undefined); private _containerId?; get containerId(): string; set containerId(value: string); get containerIdInput(): string; private _containerRevisionId?; get containerRevisionId(): string; set containerRevisionId(value: string); resetContainerRevisionId(): void; get containerRevisionIdInput(): string; private _path?; get path(): string; set path(value: string); resetPath(): void; get pathInput(): string; private _serviceAccountId?; get serviceAccountId(): string; set serviceAccountId(value: string); resetServiceAccountId(): void; get serviceAccountIdInput(): string; private _batchSettings; get batchSettings(): ServerlessEventrouterRuleContainerBatchSettingsOutputReference; putBatchSettings(value: ServerlessEventrouterRuleContainerBatchSettings): void; resetBatchSettings(): void; get batchSettingsInput(): ServerlessEventrouterRuleContainerBatchSettings; } export declare class ServerlessEventrouterRuleContainerList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ServerlessEventrouterRuleContainer[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): ServerlessEventrouterRuleContainerOutputReference; } export interface ServerlessEventrouterRuleFunctionBatchSettings { /** * Maximum batch size: rule will send a batch if its lifetime exceeds this value * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#cutoff ServerlessEventrouterRule#cutoff} */ readonly cutoff: string; /** * Maximum batch size: rule will send a batch if total size of events exceeds this value * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#max_bytes ServerlessEventrouterRule#max_bytes} */ readonly maxBytes?: number; /** * Maximum batch size: rule will send a batch if number of events exceeds this value * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#max_count ServerlessEventrouterRule#max_count} */ readonly maxCount?: number; } export declare function serverlessEventrouterRuleFunctionBatchSettingsToTerraform(struct?: ServerlessEventrouterRuleFunctionBatchSettingsOutputReference | ServerlessEventrouterRuleFunctionBatchSettings): any; export declare function serverlessEventrouterRuleFunctionBatchSettingsToHclTerraform(struct?: ServerlessEventrouterRuleFunctionBatchSettingsOutputReference | ServerlessEventrouterRuleFunctionBatchSettings): any; export declare class ServerlessEventrouterRuleFunctionBatchSettingsOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): ServerlessEventrouterRuleFunctionBatchSettings | undefined; set internalValue(value: ServerlessEventrouterRuleFunctionBatchSettings | undefined); private _cutoff?; get cutoff(): string; set cutoff(value: string); get cutoffInput(): string; private _maxBytes?; get maxBytes(): number; set maxBytes(value: number); resetMaxBytes(): void; get maxBytesInput(): number; private _maxCount?; get maxCount(): number; set maxCount(value: number); resetMaxCount(): void; get maxCountInput(): number; } export interface ServerlessEventrouterRuleFunction { /** * Function ID * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#function_id ServerlessEventrouterRule#function_id} */ readonly functionId: string; /** * Function tag * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#function_tag ServerlessEventrouterRule#function_tag} */ readonly functionTag?: string; /** * Service account which has call permission on the function * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#service_account_id ServerlessEventrouterRule#service_account_id} */ readonly serviceAccountId?: string; /** * batch_settings block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#batch_settings ServerlessEventrouterRule#batch_settings} */ readonly batchSettings?: ServerlessEventrouterRuleFunctionBatchSettings; } export declare function serverlessEventrouterRuleFunctionToTerraform(struct?: ServerlessEventrouterRuleFunction | cdktf.IResolvable): any; export declare function serverlessEventrouterRuleFunctionToHclTerraform(struct?: ServerlessEventrouterRuleFunction | cdktf.IResolvable): any; export declare class ServerlessEventrouterRuleFunctionOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): ServerlessEventrouterRuleFunction | cdktf.IResolvable | undefined; set internalValue(value: ServerlessEventrouterRuleFunction | cdktf.IResolvable | undefined); private _functionId?; get functionId(): string; set functionId(value: string); get functionIdInput(): string; private _functionTag?; get functionTag(): string; set functionTag(value: string); resetFunctionTag(): void; get functionTagInput(): string; private _serviceAccountId?; get serviceAccountId(): string; set serviceAccountId(value: string); resetServiceAccountId(): void; get serviceAccountIdInput(): string; private _batchSettings; get batchSettings(): ServerlessEventrouterRuleFunctionBatchSettingsOutputReference; putBatchSettings(value: ServerlessEventrouterRuleFunctionBatchSettings): void; resetBatchSettings(): void; get batchSettingsInput(): ServerlessEventrouterRuleFunctionBatchSettings; } export declare class ServerlessEventrouterRuleFunctionList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ServerlessEventrouterRuleFunction[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): ServerlessEventrouterRuleFunctionOutputReference; } export interface ServerlessEventrouterRuleGatewayWebsocketBroadcastBatchSettings { /** * Maximum batch size: rule will send a batch if its lifetime exceeds this value * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#cutoff ServerlessEventrouterRule#cutoff} */ readonly cutoff: string; /** * Maximum batch size: rule will send a batch if total size of events exceeds this value * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#max_bytes ServerlessEventrouterRule#max_bytes} */ readonly maxBytes?: number; /** * Maximum batch size: rule will send a batch if number of events exceeds this value * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#max_count ServerlessEventrouterRule#max_count} */ readonly maxCount?: number; } export declare function serverlessEventrouterRuleGatewayWebsocketBroadcastBatchSettingsToTerraform(struct?: ServerlessEventrouterRuleGatewayWebsocketBroadcastBatchSettingsOutputReference | ServerlessEventrouterRuleGatewayWebsocketBroadcastBatchSettings): any; export declare function serverlessEventrouterRuleGatewayWebsocketBroadcastBatchSettingsToHclTerraform(struct?: ServerlessEventrouterRuleGatewayWebsocketBroadcastBatchSettingsOutputReference | ServerlessEventrouterRuleGatewayWebsocketBroadcastBatchSettings): any; export declare class ServerlessEventrouterRuleGatewayWebsocketBroadcastBatchSettingsOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): ServerlessEventrouterRuleGatewayWebsocketBroadcastBatchSettings | undefined; set internalValue(value: ServerlessEventrouterRuleGatewayWebsocketBroadcastBatchSettings | undefined); private _cutoff?; get cutoff(): string; set cutoff(value: string); get cutoffInput(): string; private _maxBytes?; get maxBytes(): number; set maxBytes(value: number); resetMaxBytes(): void; get maxBytesInput(): number; private _maxCount?; get maxCount(): number; set maxCount(value: number); resetMaxCount(): void; get maxCountInput(): number; } export interface ServerlessEventrouterRuleGatewayWebsocketBroadcast { /** * Gateway ID * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#gateway_id ServerlessEventrouterRule#gateway_id} */ readonly gatewayId: string; /** * Path * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#path ServerlessEventrouterRule#path} */ readonly path: string; /** * Service account which has permission for writing to websockets * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#service_account_id ServerlessEventrouterRule#service_account_id} */ readonly serviceAccountId: string; /** * batch_settings block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#batch_settings ServerlessEventrouterRule#batch_settings} */ readonly batchSettings?: ServerlessEventrouterRuleGatewayWebsocketBroadcastBatchSettings; } export declare function serverlessEventrouterRuleGatewayWebsocketBroadcastToTerraform(struct?: ServerlessEventrouterRuleGatewayWebsocketBroadcast | cdktf.IResolvable): any; export declare function serverlessEventrouterRuleGatewayWebsocketBroadcastToHclTerraform(struct?: ServerlessEventrouterRuleGatewayWebsocketBroadcast | cdktf.IResolvable): any; export declare class ServerlessEventrouterRuleGatewayWebsocketBroadcastOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): ServerlessEventrouterRuleGatewayWebsocketBroadcast | cdktf.IResolvable | undefined; set internalValue(value: ServerlessEventrouterRuleGatewayWebsocketBroadcast | cdktf.IResolvable | undefined); private _gatewayId?; get gatewayId(): string; set gatewayId(value: string); get gatewayIdInput(): string; private _path?; get path(): string; set path(value: string); get pathInput(): string; private _serviceAccountId?; get serviceAccountId(): string; set serviceAccountId(value: string); get serviceAccountIdInput(): string; private _batchSettings; get batchSettings(): ServerlessEventrouterRuleGatewayWebsocketBroadcastBatchSettingsOutputReference; putBatchSettings(value: ServerlessEventrouterRuleGatewayWebsocketBroadcastBatchSettings): void; resetBatchSettings(): void; get batchSettingsInput(): ServerlessEventrouterRuleGatewayWebsocketBroadcastBatchSettings; } export declare class ServerlessEventrouterRuleGatewayWebsocketBroadcastList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ServerlessEventrouterRuleGatewayWebsocketBroadcast[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): ServerlessEventrouterRuleGatewayWebsocketBroadcastOutputReference; } export interface ServerlessEventrouterRuleLogging { /** * Folder ID * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#folder_id ServerlessEventrouterRule#folder_id} */ readonly folderId?: string; /** * Log group ID * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#log_group_id ServerlessEventrouterRule#log_group_id} */ readonly logGroupId?: string; /** * Service account which has permission for writing logs * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#service_account_id ServerlessEventrouterRule#service_account_id} */ readonly serviceAccountId: string; } export declare function serverlessEventrouterRuleLoggingToTerraform(struct?: ServerlessEventrouterRuleLogging | cdktf.IResolvable): any; export declare function serverlessEventrouterRuleLoggingToHclTerraform(struct?: ServerlessEventrouterRuleLogging | cdktf.IResolvable): any; export declare class ServerlessEventrouterRuleLoggingOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): ServerlessEventrouterRuleLogging | cdktf.IResolvable | undefined; set internalValue(value: ServerlessEventrouterRuleLogging | cdktf.IResolvable | undefined); private _folderId?; get folderId(): string; set folderId(value: string); resetFolderId(): void; get folderIdInput(): string; private _logGroupId?; get logGroupId(): string; set logGroupId(value: string); resetLogGroupId(): void; get logGroupIdInput(): string; private _serviceAccountId?; get serviceAccountId(): string; set serviceAccountId(value: string); get serviceAccountIdInput(): string; } export declare class ServerlessEventrouterRuleLoggingList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ServerlessEventrouterRuleLogging[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): ServerlessEventrouterRuleLoggingOutputReference; } export interface ServerlessEventrouterRuleTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#create ServerlessEventrouterRule#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#delete ServerlessEventrouterRule#delete} */ readonly delete?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#read ServerlessEventrouterRule#read} */ readonly read?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#update ServerlessEventrouterRule#update} */ readonly update?: string; } export declare function serverlessEventrouterRuleTimeoutsToTerraform(struct?: ServerlessEventrouterRuleTimeouts | cdktf.IResolvable): any; export declare function serverlessEventrouterRuleTimeoutsToHclTerraform(struct?: ServerlessEventrouterRuleTimeouts | cdktf.IResolvable): any; export declare class ServerlessEventrouterRuleTimeoutsOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): ServerlessEventrouterRuleTimeouts | cdktf.IResolvable | undefined; set internalValue(value: ServerlessEventrouterRuleTimeouts | cdktf.IResolvable | undefined); private _create?; get create(): string; set create(value: string); resetCreate(): void; get createInput(): string; private _delete?; get delete(): string; set delete(value: string); resetDelete(): void; get deleteInput(): string; private _read?; get read(): string; set read(value: string); resetRead(): void; get readInput(): string; private _update?; get update(): string; set update(value: string); resetUpdate(): void; get updateInput(): string; } export interface ServerlessEventrouterRuleWorkflowBatchSettings { /** * Maximum batch size: rule will send a batch if its lifetime exceeds this value * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#cutoff ServerlessEventrouterRule#cutoff} */ readonly cutoff: string; /** * Maximum batch size: rule will send a batch if total size of events exceeds this value * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#max_bytes ServerlessEventrouterRule#max_bytes} */ readonly maxBytes?: number; /** * Maximum batch size: rule will send a batch if number of events exceeds this value * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#max_count ServerlessEventrouterRule#max_count} */ readonly maxCount?: number; } export declare function serverlessEventrouterRuleWorkflowBatchSettingsToTerraform(struct?: ServerlessEventrouterRuleWorkflowBatchSettingsOutputReference | ServerlessEventrouterRuleWorkflowBatchSettings): any; export declare function serverlessEventrouterRuleWorkflowBatchSettingsToHclTerraform(struct?: ServerlessEventrouterRuleWorkflowBatchSettingsOutputReference | ServerlessEventrouterRuleWorkflowBatchSettings): any; export declare class ServerlessEventrouterRuleWorkflowBatchSettingsOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): ServerlessEventrouterRuleWorkflowBatchSettings | undefined; set internalValue(value: ServerlessEventrouterRuleWorkflowBatchSettings | undefined); private _cutoff?; get cutoff(): string; set cutoff(value: string); get cutoffInput(): string; private _maxBytes?; get maxBytes(): number; set maxBytes(value: number); resetMaxBytes(): void; get maxBytesInput(): number; private _maxCount?; get maxCount(): number; set maxCount(value: number); resetMaxCount(): void; get maxCountInput(): number; } export interface ServerlessEventrouterRuleWorkflow { /** * Service account which should be used to start workflow * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#service_account_id ServerlessEventrouterRule#service_account_id} */ readonly serviceAccountId: string; /** * Workflow ID * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#workflow_id ServerlessEventrouterRule#workflow_id} */ readonly workflowId: string; /** * batch_settings block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#batch_settings ServerlessEventrouterRule#batch_settings} */ readonly batchSettings?: ServerlessEventrouterRuleWorkflowBatchSettings; } export declare function serverlessEventrouterRuleWorkflowToTerraform(struct?: ServerlessEventrouterRuleWorkflow | cdktf.IResolvable): any; export declare function serverlessEventrouterRuleWorkflowToHclTerraform(struct?: ServerlessEventrouterRuleWorkflow | cdktf.IResolvable): any; export declare class ServerlessEventrouterRuleWorkflowOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): ServerlessEventrouterRuleWorkflow | cdktf.IResolvable | undefined; set internalValue(value: ServerlessEventrouterRuleWorkflow | cdktf.IResolvable | undefined); private _serviceAccountId?; get serviceAccountId(): string; set serviceAccountId(value: string); get serviceAccountIdInput(): string; private _workflowId?; get workflowId(): string; set workflowId(value: string); get workflowIdInput(): string; private _batchSettings; get batchSettings(): ServerlessEventrouterRuleWorkflowBatchSettingsOutputReference; putBatchSettings(value: ServerlessEventrouterRuleWorkflowBatchSettings): void; resetBatchSettings(): void; get batchSettingsInput(): ServerlessEventrouterRuleWorkflowBatchSettings; } export declare class ServerlessEventrouterRuleWorkflowList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ServerlessEventrouterRuleWorkflow[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): ServerlessEventrouterRuleWorkflowOutputReference; } export interface ServerlessEventrouterRuleYds { /** * Stream database * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#database ServerlessEventrouterRule#database} */ readonly database: string; /** * Service account, which has write permission on the stream * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#service_account_id ServerlessEventrouterRule#service_account_id} */ readonly serviceAccountId: string; /** * Full stream name, like /ru-central1/aoegtvhtp8ob******** /cc8004q4lbo6******** /test * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#stream_name ServerlessEventrouterRule#stream_name} * * Note: The above comment contained a comment block ending sequence (* followed by /). We have introduced a space between to prevent syntax errors. Please ignore the space. */ readonly streamName: string; } export declare function serverlessEventrouterRuleYdsToTerraform(struct?: ServerlessEventrouterRuleYds | cdktf.IResolvable): any; export declare function serverlessEventrouterRuleYdsToHclTerraform(struct?: ServerlessEventrouterRuleYds | cdktf.IResolvable): any; export declare class ServerlessEventrouterRuleYdsOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): ServerlessEventrouterRuleYds | cdktf.IResolvable | undefined; set internalValue(value: ServerlessEventrouterRuleYds | cdktf.IResolvable | undefined); private _database?; get database(): string; set database(value: string); get databaseInput(): string; private _serviceAccountId?; get serviceAccountId(): string; set serviceAccountId(value: string); get serviceAccountIdInput(): string; private _streamName?; get streamName(): string; set streamName(value: string); get streamNameInput(): string; } export declare class ServerlessEventrouterRuleYdsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ServerlessEventrouterRuleYds[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): ServerlessEventrouterRuleYdsOutputReference; } export interface ServerlessEventrouterRuleYmq { /** * Queue ARN. Example: yrn:yc:ymq:ru-central1:aoe***:test * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#queue_arn ServerlessEventrouterRule#queue_arn} */ readonly queueArn: string; /** * Service account which has write access to the queue * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#service_account_id ServerlessEventrouterRule#service_account_id} */ readonly serviceAccountId: string; } export declare function serverlessEventrouterRuleYmqToTerraform(struct?: ServerlessEventrouterRuleYmq | cdktf.IResolvable): any; export declare function serverlessEventrouterRuleYmqToHclTerraform(struct?: ServerlessEventrouterRuleYmq | cdktf.IResolvable): any; export declare class ServerlessEventrouterRuleYmqOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): ServerlessEventrouterRuleYmq | cdktf.IResolvable | undefined; set internalValue(value: ServerlessEventrouterRuleYmq | cdktf.IResolvable | undefined); private _queueArn?; get queueArn(): string; set queueArn(value: string); get queueArnInput(): string; private _serviceAccountId?; get serviceAccountId(): string; set serviceAccountId(value: string); get serviceAccountIdInput(): string; } export declare class ServerlessEventrouterRuleYmqList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ServerlessEventrouterRuleYmq[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): ServerlessEventrouterRuleYmqOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule yandex_serverless_eventrouter_rule} */ export declare class ServerlessEventrouterRule extends cdktf.TerraformResource { static readonly tfResourceType = "yandex_serverless_eventrouter_rule"; /** * Generates CDKTF code for importing a ServerlessEventrouterRule resource upon running "cdktf plan " * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the ServerlessEventrouterRule to import * @param importFromId The id of the existing ServerlessEventrouterRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the ServerlessEventrouterRule to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any; /** * Create a new {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_rule yandex_serverless_eventrouter_rule} Resource * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options ServerlessEventrouterRuleConfig */ constructor(scope: Construct, id: string, config: ServerlessEventrouterRuleConfig); private _busId?; get busId(): string; set busId(value: string); get busIdInput(): string; get cloudId(): any; get createdAt(): any; get deletionProtection(): any; private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; get folderId(): any; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _jqFilter?; get jqFilter(): string; set jqFilter(value: string); resetJqFilter(): void; get jqFilterInput(): string; private _labels?; get labels(): { [key: string]: string; }; set labels(value: { [key: string]: string; }); resetLabels(): void; get labelsInput(): { [key: string]: string; }; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _container; get container(): ServerlessEventrouterRuleContainerList; putContainer(value: ServerlessEventrouterRuleContainer[] | cdktf.IResolvable): void; resetContainer(): void; get containerInput(): any; private _function; get function(): ServerlessEventrouterRuleFunctionList; putFunction(value: ServerlessEventrouterRuleFunction[] | cdktf.IResolvable): void; resetFunction(): void; get functionInput(): any; private _gatewayWebsocketBroadcast; get gatewayWebsocketBroadcast(): ServerlessEventrouterRuleGatewayWebsocketBroadcastList; putGatewayWebsocketBroadcast(value: ServerlessEventrouterRuleGatewayWebsocketBroadcast[] | cdktf.IResolvable): void; resetGatewayWebsocketBroadcast(): void; get gatewayWebsocketBroadcastInput(): any; private _logging; get logging(): ServerlessEventrouterRuleLoggingList; putLogging(value: ServerlessEventrouterRuleLogging[] | cdktf.IResolvable): void; resetLogging(): void; get loggingInput(): any; private _timeouts; get timeouts(): ServerlessEventrouterRuleTimeoutsOutputReference; putTimeouts(value: ServerlessEventrouterRuleTimeouts): void; resetTimeouts(): void; get timeoutsInput(): any; private _workflow; get workflow(): ServerlessEventrouterRuleWorkflowList; putWorkflow(value: ServerlessEventrouterRuleWorkflow[] | cdktf.IResolvable): void; resetWorkflow(): void; get workflowInput(): any; private _yds; get yds(): ServerlessEventrouterRuleYdsList; putYds(value: ServerlessEventrouterRuleYds[] | cdktf.IResolvable): void; resetYds(): void; get ydsInput(): any; private _ymq; get ymq(): ServerlessEventrouterRuleYmqList; putYmq(value: ServerlessEventrouterRuleYmq[] | cdktf.IResolvable): void; resetYmq(): void; get ymqInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }