import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface CamUserConfig extends cdktf.TerraformMetaArguments { /** * Indicate whether the CAM user can login to the web console or not. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cam_user#console_login CamUser#console_login} */ readonly consoleLogin?: boolean | cdktf.IResolvable; /** * Country code of the phone number, for example: '86'. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cam_user#country_code CamUser#country_code} */ readonly countryCode?: string; /** * Email of the CAM user. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cam_user#email CamUser#email} */ readonly email?: string; /** * Indicate whether to force deletes the CAM user. If set false, the API secret key will be checked and failed when exists; otherwise the user will be deleted directly. Default is false. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cam_user#force_delete CamUser#force_delete} */ readonly forceDelete?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cam_user#id CamUser#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; /** * Name of the CAM user. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cam_user#name CamUser#name} */ readonly name: string; /** * Indicate whether the CAM user need to reset the password when first logins. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cam_user#need_reset_password CamUser#need_reset_password} */ readonly needResetPassword?: boolean | cdktf.IResolvable; /** * The password of the CAM user. Password should be at least 8 characters and no more than 32 characters, includes uppercase letters, lowercase letters, numbers and special characters. Only required when `console_login` is true. If not set, a random password will be automatically generated. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cam_user#password CamUser#password} */ readonly password?: string; /** * Phone number of the CAM user. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cam_user#phone_num CamUser#phone_num} */ readonly phoneNum?: string; /** * Remark of the CAM user. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cam_user#remark CamUser#remark} */ readonly remark?: string; /** * A list of tags used to associate different resources. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cam_user#tags CamUser#tags} */ readonly tags?: { [key: string]: string; }; /** * Indicate whether to generate the API secret key or not. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cam_user#use_api CamUser#use_api} */ readonly useApi?: boolean | cdktf.IResolvable; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cam_user tencentcloud_cam_user} */ export declare class CamUser extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_cam_user"; /** * Generates CDKTF code for importing a CamUser 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 CamUser to import * @param importFromId The id of the existing CamUser that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cam_user#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the CamUser 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/cam_user tencentcloud_cam_user} 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 CamUserConfig */ constructor(scope: Construct, id: string, config: CamUserConfig); private _consoleLogin?; get consoleLogin(): boolean | cdktf.IResolvable; set consoleLogin(value: boolean | cdktf.IResolvable); resetConsoleLogin(): void; get consoleLoginInput(): any; private _countryCode?; get countryCode(): string; set countryCode(value: string); resetCountryCode(): void; get countryCodeInput(): string; private _email?; get email(): string; set email(value: string); resetEmail(): void; get emailInput(): string; private _forceDelete?; get forceDelete(): boolean | cdktf.IResolvable; set forceDelete(value: boolean | cdktf.IResolvable); resetForceDelete(): void; get forceDeleteInput(): any; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _needResetPassword?; get needResetPassword(): boolean | cdktf.IResolvable; set needResetPassword(value: boolean | cdktf.IResolvable); resetNeedResetPassword(): void; get needResetPasswordInput(): any; private _password?; get password(): string; set password(value: string); resetPassword(): void; get passwordInput(): string; private _phoneNum?; get phoneNum(): string; set phoneNum(value: string); resetPhoneNum(): void; get phoneNumInput(): string; private _remark?; get remark(): string; set remark(value: string); resetRemark(): void; get remarkInput(): string; get secretId(): any; get secretKey(): any; private _tags?; get tags(): { [key: string]: string; }; set tags(value: { [key: string]: string; }); resetTags(): void; get tagsInput(): { [key: string]: string; }; get uid(): any; get uin(): any; private _useApi?; get useApi(): boolean | cdktf.IResolvable; set useApi(value: boolean | cdktf.IResolvable); resetUseApi(): void; get useApiInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }