import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface MysqlTimeWindowConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_time_window#id MysqlTimeWindow#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; /** * Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_time_window#instance_id MysqlTimeWindow#instance_id} */ readonly instanceId: string; /** * Data delay threshold. It takes effect only for source instance and disaster recovery instance. Default value: 10. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_time_window#max_delay_time MysqlTimeWindow#max_delay_time} */ readonly maxDelayTime?: number; /** * Time period available for maintenance after modification in the format of 10:00-12:00. Each period lasts from half an hour to three hours, with the start time and end time aligned by half-hour. Up to two time periods can be set. Start and end time range: [00:00, 24:00]. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_time_window#time_ranges MysqlTimeWindow#time_ranges} */ readonly timeRanges: string[]; /** * Specifies for which day to modify the time period. Value range: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday. If it is not specified or is left blank, the time period will be modified for every day by default. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_time_window#weekdays MysqlTimeWindow#weekdays} */ readonly weekdays?: string[]; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_time_window tencentcloud_mysql_time_window} */ export declare class MysqlTimeWindow extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_mysql_time_window"; /** * Generates CDKTF code for importing a MysqlTimeWindow 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 MysqlTimeWindow to import * @param importFromId The id of the existing MysqlTimeWindow that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_time_window#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the MysqlTimeWindow 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/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_time_window tencentcloud_mysql_time_window} 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 MysqlTimeWindowConfig */ constructor(scope: Construct, id: string, config: MysqlTimeWindowConfig); private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _instanceId?; get instanceId(): string; set instanceId(value: string); get instanceIdInput(): string; private _maxDelayTime?; get maxDelayTime(): number; set maxDelayTime(value: number); resetMaxDelayTime(): void; get maxDelayTimeInput(): number; private _timeRanges?; get timeRanges(): string[]; set timeRanges(value: string[]); get timeRangesInput(): string[]; private _weekdays?; get weekdays(): string[]; set weekdays(value: string[]); resetWeekdays(): void; get weekdaysInput(): string[]; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }