import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface SudoRuleConfig extends cdktf.TerraformMetaArguments { /** * Command category the sudo rule is applied to (allowed value: all) * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rework-space-com/freeipa/5.2.1/docs/resources/sudo_rule#commandcategory SudoRule#commandcategory} */ readonly commandcategory?: string; /** * Sudo rule description * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rework-space-com/freeipa/5.2.1/docs/resources/sudo_rule#description SudoRule#description} */ readonly description?: string; /** * Enable this sudo rule * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rework-space-com/freeipa/5.2.1/docs/resources/sudo_rule#enabled SudoRule#enabled} */ readonly enabled?: boolean | cdktf.IResolvable; /** * Host category the sudo rule is applied to (allowed value: all) * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rework-space-com/freeipa/5.2.1/docs/resources/sudo_rule#hostcategory SudoRule#hostcategory} */ readonly hostcategory?: string; /** * Name of the sudo rule * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rework-space-com/freeipa/5.2.1/docs/resources/sudo_rule#name SudoRule#name} */ readonly name: string; /** * Sudo rule order (must be unique) * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rework-space-com/freeipa/5.2.1/docs/resources/sudo_rule#order SudoRule#order} */ readonly order?: number; /** * Run as group category the sudo rule is applied to (allowed value: all) * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rework-space-com/freeipa/5.2.1/docs/resources/sudo_rule#runasgroupcategory SudoRule#runasgroupcategory} */ readonly runasgroupcategory?: string; /** * Run as user category the sudo rule is applied to (allowed value: all) * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rework-space-com/freeipa/5.2.1/docs/resources/sudo_rule#runasusercategory SudoRule#runasusercategory} */ readonly runasusercategory?: string; /** * User category the sudo rule is applied to (allowed value: all) * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rework-space-com/freeipa/5.2.1/docs/resources/sudo_rule#usercategory SudoRule#usercategory} */ readonly usercategory?: string; } /** * Represents a {@link https://registry.terraform.io/providers/rework-space-com/freeipa/5.2.1/docs/resources/sudo_rule freeipa_sudo_rule} */ export declare class SudoRule extends cdktf.TerraformResource { static readonly tfResourceType = "freeipa_sudo_rule"; /** * Generates CDKTF code for importing a SudoRule 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 SudoRule to import * @param importFromId The id of the existing SudoRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/rework-space-com/freeipa/5.2.1/docs/resources/sudo_rule#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the SudoRule 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/rework-space-com/freeipa/5.2.1/docs/resources/sudo_rule freeipa_sudo_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 SudoRuleConfig */ constructor(scope: Construct, id: string, config: SudoRuleConfig); private _commandcategory?; get commandcategory(): string; set commandcategory(value: string); resetCommandcategory(): void; get commandcategoryInput(): string; private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; private _enabled?; get enabled(): boolean | cdktf.IResolvable; set enabled(value: boolean | cdktf.IResolvable); resetEnabled(): void; get enabledInput(): any; private _hostcategory?; get hostcategory(): string; set hostcategory(value: string); resetHostcategory(): void; get hostcategoryInput(): string; get id(): any; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _order?; get order(): number; set order(value: number); resetOrder(): void; get orderInput(): number; private _runasgroupcategory?; get runasgroupcategory(): string; set runasgroupcategory(value: string); resetRunasgroupcategory(): void; get runasgroupcategoryInput(): string; private _runasusercategory?; get runasusercategory(): string; set runasusercategory(value: string); resetRunasusercategory(): void; get runasusercategoryInput(): string; private _usercategory?; get usercategory(): string; set usercategory(value: string); resetUsercategory(): void; get usercategoryInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }