import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface VpcRouteTableConfig extends cdktf.TerraformMetaArguments { /** * The resource description. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/vpc_route_table#description VpcRouteTable#description} */ readonly description?: string; /** * The folder identifier that resource belongs to. If it is not provided, the default provider `folder-id` is used. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/vpc_route_table#folder_id VpcRouteTable#folder_id} */ readonly folderId?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/vpc_route_table#id VpcRouteTable#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; /** * A set of key/value label pairs which assigned to resource. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/vpc_route_table#labels VpcRouteTable#labels} */ readonly labels?: { [key: string]: string; }; /** * The resource name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/vpc_route_table#name VpcRouteTable#name} */ readonly name?: string; /** * ID of the network this route table belongs to. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/vpc_route_table#network_id VpcRouteTable#network_id} */ readonly networkId: string; /** * static_route block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/vpc_route_table#static_route VpcRouteTable#static_route} */ readonly staticRoute?: VpcRouteTableStaticRoute[] | cdktf.IResolvable; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/vpc_route_table#timeouts VpcRouteTable#timeouts} */ readonly timeouts?: VpcRouteTableTimeouts; } export interface VpcRouteTableStaticRoute { /** * Route prefix in CIDR notation. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/vpc_route_table#destination_prefix VpcRouteTable#destination_prefix} */ readonly destinationPrefix?: string; /** * ID of the gateway used ad next hop. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/vpc_route_table#gateway_id VpcRouteTable#gateway_id} */ readonly gatewayId?: string; /** * Address of the next hop. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/vpc_route_table#next_hop_address VpcRouteTable#next_hop_address} */ readonly nextHopAddress?: string; } export declare function vpcRouteTableStaticRouteToTerraform(struct?: VpcRouteTableStaticRoute | cdktf.IResolvable): any; export declare function vpcRouteTableStaticRouteToHclTerraform(struct?: VpcRouteTableStaticRoute | cdktf.IResolvable): any; export declare class VpcRouteTableStaticRouteOutputReference 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(): VpcRouteTableStaticRoute | cdktf.IResolvable | undefined; set internalValue(value: VpcRouteTableStaticRoute | cdktf.IResolvable | undefined); private _destinationPrefix?; get destinationPrefix(): string; set destinationPrefix(value: string); resetDestinationPrefix(): void; get destinationPrefixInput(): string; private _gatewayId?; get gatewayId(): string; set gatewayId(value: string); resetGatewayId(): void; get gatewayIdInput(): string; private _nextHopAddress?; get nextHopAddress(): string; set nextHopAddress(value: string); resetNextHopAddress(): void; get nextHopAddressInput(): string; } export declare class VpcRouteTableStaticRouteList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: VpcRouteTableStaticRoute[] | 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): VpcRouteTableStaticRouteOutputReference; } export interface VpcRouteTableTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/vpc_route_table#create VpcRouteTable#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/vpc_route_table#delete VpcRouteTable#delete} */ readonly delete?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/vpc_route_table#update VpcRouteTable#update} */ readonly update?: string; } export declare function vpcRouteTableTimeoutsToTerraform(struct?: VpcRouteTableTimeouts | cdktf.IResolvable): any; export declare function vpcRouteTableTimeoutsToHclTerraform(struct?: VpcRouteTableTimeouts | cdktf.IResolvable): any; export declare class VpcRouteTableTimeoutsOutputReference 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(): VpcRouteTableTimeouts | cdktf.IResolvable | undefined; set internalValue(value: VpcRouteTableTimeouts | 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 _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/vpc_route_table yandex_vpc_route_table} */ export declare class VpcRouteTable extends cdktf.TerraformResource { static readonly tfResourceType = "yandex_vpc_route_table"; /** * Generates CDKTF code for importing a VpcRouteTable 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 VpcRouteTable to import * @param importFromId The id of the existing VpcRouteTable that should be imported. Refer to the {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/vpc_route_table#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the VpcRouteTable 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/vpc_route_table yandex_vpc_route_table} 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 VpcRouteTableConfig */ constructor(scope: Construct, id: string, config: VpcRouteTableConfig); get createdAt(): 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; private _networkId?; get networkId(): string; set networkId(value: string); get networkIdInput(): string; private _staticRoute; get staticRoute(): VpcRouteTableStaticRouteList; putStaticRoute(value: VpcRouteTableStaticRoute[] | cdktf.IResolvable): void; resetStaticRoute(): void; get staticRouteInput(): any; private _timeouts; get timeouts(): VpcRouteTableTimeoutsOutputReference; putTimeouts(value: VpcRouteTableTimeouts): void; resetTimeouts(): void; get timeoutsInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }