import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface ChdfsLifeCycleRuleConfig extends cdktf.TerraformMetaArguments { /** * file system id. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/chdfs_life_cycle_rule#file_system_id ChdfsLifeCycleRule#file_system_id} */ readonly fileSystemId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/chdfs_life_cycle_rule#id ChdfsLifeCycleRule#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; /** * life_cycle_rule block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/chdfs_life_cycle_rule#life_cycle_rule ChdfsLifeCycleRule#life_cycle_rule} */ readonly lifeCycleRule: ChdfsLifeCycleRuleLifeCycleRule; } export interface ChdfsLifeCycleRuleLifeCycleRuleTransitions { /** * trigger days(n day). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/chdfs_life_cycle_rule#days ChdfsLifeCycleRule#days} */ readonly days: number; /** * transition type, 1: archive, 2: delete, 3: low rate. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/chdfs_life_cycle_rule#type ChdfsLifeCycleRule#type} */ readonly type: number; } export declare function chdfsLifeCycleRuleLifeCycleRuleTransitionsToTerraform(struct?: ChdfsLifeCycleRuleLifeCycleRuleTransitions | cdktf.IResolvable): any; export declare function chdfsLifeCycleRuleLifeCycleRuleTransitionsToHclTerraform(struct?: ChdfsLifeCycleRuleLifeCycleRuleTransitions | cdktf.IResolvable): any; export declare class ChdfsLifeCycleRuleLifeCycleRuleTransitionsOutputReference 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(): ChdfsLifeCycleRuleLifeCycleRuleTransitions | cdktf.IResolvable | undefined; set internalValue(value: ChdfsLifeCycleRuleLifeCycleRuleTransitions | cdktf.IResolvable | undefined); private _days?; get days(): number; set days(value: number); get daysInput(): number; private _type?; get type(): number; set type(value: number); get typeInput(): number; } export declare class ChdfsLifeCycleRuleLifeCycleRuleTransitionsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ChdfsLifeCycleRuleLifeCycleRuleTransitions[] | 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): ChdfsLifeCycleRuleLifeCycleRuleTransitionsOutputReference; } export interface ChdfsLifeCycleRuleLifeCycleRule { /** * rule name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/chdfs_life_cycle_rule#life_cycle_rule_name ChdfsLifeCycleRule#life_cycle_rule_name} */ readonly lifeCycleRuleName?: string; /** * rule op path. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/chdfs_life_cycle_rule#path ChdfsLifeCycleRule#path} */ readonly path?: string; /** * rule status, 1:open, 2:close. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/chdfs_life_cycle_rule#status ChdfsLifeCycleRule#status} */ readonly status?: number; /** * transitions block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/chdfs_life_cycle_rule#transitions ChdfsLifeCycleRule#transitions} */ readonly transitions?: ChdfsLifeCycleRuleLifeCycleRuleTransitions[] | cdktf.IResolvable; } export declare function chdfsLifeCycleRuleLifeCycleRuleToTerraform(struct?: ChdfsLifeCycleRuleLifeCycleRuleOutputReference | ChdfsLifeCycleRuleLifeCycleRule): any; export declare function chdfsLifeCycleRuleLifeCycleRuleToHclTerraform(struct?: ChdfsLifeCycleRuleLifeCycleRuleOutputReference | ChdfsLifeCycleRuleLifeCycleRule): any; export declare class ChdfsLifeCycleRuleLifeCycleRuleOutputReference 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(): ChdfsLifeCycleRuleLifeCycleRule | undefined; set internalValue(value: ChdfsLifeCycleRuleLifeCycleRule | undefined); get createTime(): any; get lifeCycleRuleId(): any; private _lifeCycleRuleName?; get lifeCycleRuleName(): string; set lifeCycleRuleName(value: string); resetLifeCycleRuleName(): void; get lifeCycleRuleNameInput(): string; private _path?; get path(): string; set path(value: string); resetPath(): void; get pathInput(): string; private _status?; get status(): number; set status(value: number); resetStatus(): void; get statusInput(): number; private _transitions; get transitions(): ChdfsLifeCycleRuleLifeCycleRuleTransitionsList; putTransitions(value: ChdfsLifeCycleRuleLifeCycleRuleTransitions[] | cdktf.IResolvable): void; resetTransitions(): void; get transitionsInput(): any; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/chdfs_life_cycle_rule tencentcloud_chdfs_life_cycle_rule} */ export declare class ChdfsLifeCycleRule extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_chdfs_life_cycle_rule"; /** * Generates CDKTF code for importing a ChdfsLifeCycleRule 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 ChdfsLifeCycleRule to import * @param importFromId The id of the existing ChdfsLifeCycleRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/chdfs_life_cycle_rule#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the ChdfsLifeCycleRule 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/chdfs_life_cycle_rule tencentcloud_chdfs_life_cycle_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 ChdfsLifeCycleRuleConfig */ constructor(scope: Construct, id: string, config: ChdfsLifeCycleRuleConfig); private _fileSystemId?; get fileSystemId(): string; set fileSystemId(value: string); get fileSystemIdInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _lifeCycleRule; get lifeCycleRule(): ChdfsLifeCycleRuleLifeCycleRuleOutputReference; putLifeCycleRule(value: ChdfsLifeCycleRuleLifeCycleRule): void; get lifeCycleRuleInput(): ChdfsLifeCycleRuleLifeCycleRule; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }