import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface CfsAccessRuleConfig extends cdktf.TerraformMetaArguments { /** * ID of a access group. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cfs_access_rule#access_group_id CfsAccessRule#access_group_id} */ readonly accessGroupId: string; /** * A single IP or a single IP address range such as 10.1.10.11 or 10.10.1.0/24 indicates that all IPs are allowed. Please note that the IP entered should be CVM's private IP. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cfs_access_rule#auth_client_ip CfsAccessRule#auth_client_ip} */ readonly authClientIp: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cfs_access_rule#id CfsAccessRule#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 priority level of rule. Valid value ranges: (1~100). `1` indicates the highest priority. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cfs_access_rule#priority CfsAccessRule#priority} */ readonly priority: number; /** * Read and write permissions. Valid values are `RO` and `RW`. and default is `RO`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cfs_access_rule#rw_permission CfsAccessRule#rw_permission} */ readonly rwPermission?: string; /** * The permissions of accessing users. Valid values are `all_squash`, `no_all_squash`, `root_squash` and `no_root_squash`. and default is `root_squash`. `all_squash` indicates that all access users are mapped as anonymous users or user groups; `no_all_squash` indicates that access users will match local users first and be mapped to anonymous users or user groups after matching failed; `root_squash` indicates that map access root users to anonymous users or user groups; `no_root_squash` indicates that access root users keep root account permission. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cfs_access_rule#user_permission CfsAccessRule#user_permission} */ readonly userPermission?: string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cfs_access_rule tencentcloud_cfs_access_rule} */ export declare class CfsAccessRule extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_cfs_access_rule"; /** * Generates CDKTF code for importing a CfsAccessRule 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 CfsAccessRule to import * @param importFromId The id of the existing CfsAccessRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cfs_access_rule#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the CfsAccessRule 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/cfs_access_rule tencentcloud_cfs_access_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 CfsAccessRuleConfig */ constructor(scope: Construct, id: string, config: CfsAccessRuleConfig); private _accessGroupId?; get accessGroupId(): string; set accessGroupId(value: string); get accessGroupIdInput(): string; private _authClientIp?; get authClientIp(): string; set authClientIp(value: string); get authClientIpInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _priority?; get priority(): number; set priority(value: number); get priorityInput(): number; private _rwPermission?; get rwPermission(): string; set rwPermission(value: string); resetRwPermission(): void; get rwPermissionInput(): string; private _userPermission?; get userPermission(): string; set userPermission(value: string); resetUserPermission(): void; get userPermissionInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }