import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface ServerlessEventrouterBusConfig extends cdktf.TerraformMetaArguments { /** * ID of the bus to get. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_bus#bus_id ServerlessEventrouterBus#bus_id} */ readonly busId?: string; /** * ID of the cloud that the bus resides in. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_bus#cloud_id ServerlessEventrouterBus#cloud_id} */ readonly cloudId?: string; /** * Deletion protection. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_bus#deletion_protection ServerlessEventrouterBus#deletion_protection} */ readonly deletionProtection?: boolean | cdktf.IResolvable; /** * Description of the bus. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_bus#description ServerlessEventrouterBus#description} */ readonly description?: string; /** * ID of the folder that the bus belongs to. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_bus#folder_id ServerlessEventrouterBus#folder_id} */ readonly folderId?: string; /** * ID of the bus to get. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_bus#id ServerlessEventrouterBus#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; /** * Resource labels as `key:value` pairs. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_bus#labels ServerlessEventrouterBus#labels} */ readonly labels?: { [key: string]: string; }; /** * Name of the bus. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_bus#name ServerlessEventrouterBus#name} */ readonly name?: string; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_bus#timeouts ServerlessEventrouterBus#timeouts} */ readonly timeouts?: ServerlessEventrouterBusTimeouts; } export interface ServerlessEventrouterBusTimeouts { /** * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_bus#create ServerlessEventrouterBus#create} */ readonly create?: string; /** * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) 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. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_bus#delete ServerlessEventrouterBus#delete} */ readonly delete?: string; /** * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) 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. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_bus#read ServerlessEventrouterBus#read} */ readonly read?: string; /** * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_bus#update ServerlessEventrouterBus#update} */ readonly update?: string; } export declare function serverlessEventrouterBusTimeoutsToTerraform(struct?: ServerlessEventrouterBusTimeouts | cdktf.IResolvable): any; export declare function serverlessEventrouterBusTimeoutsToHclTerraform(struct?: ServerlessEventrouterBusTimeouts | cdktf.IResolvable): any; export declare class ServerlessEventrouterBusTimeoutsOutputReference 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(): ServerlessEventrouterBusTimeouts | cdktf.IResolvable | undefined; set internalValue(value: ServerlessEventrouterBusTimeouts | 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; } /** * Represents a {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_bus yandex_serverless_eventrouter_bus} */ export declare class ServerlessEventrouterBus extends cdktf.TerraformResource { static readonly tfResourceType = "yandex_serverless_eventrouter_bus"; /** * Generates CDKTF code for importing a ServerlessEventrouterBus 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 ServerlessEventrouterBus to import * @param importFromId The id of the existing ServerlessEventrouterBus that should be imported. Refer to the {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_eventrouter_bus#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the ServerlessEventrouterBus 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_bus yandex_serverless_eventrouter_bus} 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 ServerlessEventrouterBusConfig = {} */ constructor(scope: Construct, id: string, config?: ServerlessEventrouterBusConfig); private _busId?; get busId(): string; set busId(value: string); resetBusId(): void; get busIdInput(): string; private _cloudId?; get cloudId(): string; set cloudId(value: string); resetCloudId(): void; get cloudIdInput(): string; get createdAt(): any; private _deletionProtection?; get deletionProtection(): boolean | cdktf.IResolvable; set deletionProtection(value: boolean | cdktf.IResolvable); resetDeletionProtection(): void; get deletionProtectionInput(): any; private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; private _folderId?; get folderId(): string; set folderId(value: string); resetFolderId(): void; get folderIdInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): 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); resetName(): void; get nameInput(): string; get status(): any; private _timeouts; get timeouts(): ServerlessEventrouterBusTimeoutsOutputReference; putTimeouts(value: ServerlessEventrouterBusTimeouts): void; resetTimeouts(): void; get timeoutsInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }