import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface VpcSnapshotPolicyConfig extends cdktf.TerraformMetaArguments { /** * Backup strategy type, `operate`: operate backup, `time`: schedule backup. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vpc_snapshot_policy#backup_type VpcSnapshotPolicy#backup_type} */ readonly backupType: string; /** * cos bucket. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vpc_snapshot_policy#cos_bucket VpcSnapshotPolicy#cos_bucket} */ readonly cosBucket: string; /** * The region where the cos bucket is located. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vpc_snapshot_policy#cos_region VpcSnapshotPolicy#cos_region} */ readonly cosRegion: string; /** * Whether to create a new cos bucket, the default is False.Note: This field may return null, indicating that no valid value can be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vpc_snapshot_policy#create_new_cos VpcSnapshotPolicy#create_new_cos} */ readonly createNewCos: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vpc_snapshot_policy#id VpcSnapshotPolicy#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; /** * The retention time supports 1 to 365 days. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vpc_snapshot_policy#keep_time VpcSnapshotPolicy#keep_time} */ readonly keepTime: number; /** * Snapshot policy name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vpc_snapshot_policy#snapshot_policy_name VpcSnapshotPolicy#snapshot_policy_name} */ readonly snapshotPolicyName: string; /** * backup_policies block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vpc_snapshot_policy#backup_policies VpcSnapshotPolicy#backup_policies} */ readonly backupPolicies?: VpcSnapshotPolicyBackupPolicies[] | cdktf.IResolvable; } export interface VpcSnapshotPolicyBackupPolicies { /** * Backup cycle time, the value can be monday, tuesday, wednesday, thursday, friday, saturday, sunday. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vpc_snapshot_policy#backup_day VpcSnapshotPolicy#backup_day} */ readonly backupDay: string; /** * Backup time point, format:HH:mm:ss. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vpc_snapshot_policy#backup_time VpcSnapshotPolicy#backup_time} */ readonly backupTime: string; } export declare function vpcSnapshotPolicyBackupPoliciesToTerraform(struct?: VpcSnapshotPolicyBackupPolicies | cdktf.IResolvable): any; export declare function vpcSnapshotPolicyBackupPoliciesToHclTerraform(struct?: VpcSnapshotPolicyBackupPolicies | cdktf.IResolvable): any; export declare class VpcSnapshotPolicyBackupPoliciesOutputReference 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(): VpcSnapshotPolicyBackupPolicies | cdktf.IResolvable | undefined; set internalValue(value: VpcSnapshotPolicyBackupPolicies | cdktf.IResolvable | undefined); private _backupDay?; get backupDay(): string; set backupDay(value: string); get backupDayInput(): string; private _backupTime?; get backupTime(): string; set backupTime(value: string); get backupTimeInput(): string; } export declare class VpcSnapshotPolicyBackupPoliciesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: VpcSnapshotPolicyBackupPolicies[] | 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): VpcSnapshotPolicyBackupPoliciesOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vpc_snapshot_policy tencentcloud_vpc_snapshot_policy} */ export declare class VpcSnapshotPolicy extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_vpc_snapshot_policy"; /** * Generates CDKTF code for importing a VpcSnapshotPolicy 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 VpcSnapshotPolicy to import * @param importFromId The id of the existing VpcSnapshotPolicy that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vpc_snapshot_policy#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the VpcSnapshotPolicy 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/vpc_snapshot_policy tencentcloud_vpc_snapshot_policy} 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 VpcSnapshotPolicyConfig */ constructor(scope: Construct, id: string, config: VpcSnapshotPolicyConfig); private _backupType?; get backupType(): string; set backupType(value: string); get backupTypeInput(): string; private _cosBucket?; get cosBucket(): string; set cosBucket(value: string); get cosBucketInput(): string; private _cosRegion?; get cosRegion(): string; set cosRegion(value: string); get cosRegionInput(): string; private _createNewCos?; get createNewCos(): boolean | cdktf.IResolvable; set createNewCos(value: boolean | cdktf.IResolvable); get createNewCosInput(): any; get createTime(): any; get enable(): any; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _keepTime?; get keepTime(): number; set keepTime(value: number); get keepTimeInput(): number; get snapshotPolicyId(): any; private _snapshotPolicyName?; get snapshotPolicyName(): string; set snapshotPolicyName(value: string); get snapshotPolicyNameInput(): string; private _backupPolicies; get backupPolicies(): VpcSnapshotPolicyBackupPoliciesList; putBackupPolicies(value: VpcSnapshotPolicyBackupPolicies[] | cdktf.IResolvable): void; resetBackupPolicies(): void; get backupPoliciesInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }