UNPKG

@cdktf-providers/community-terraform-providers-ignition

Version:

Prebuilt community-terraform-providers/ignition Provider for Terraform CDK (cdktf)

162 lines (161 loc) 7.79 kB
import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataIgnitionUserConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/user#gecos DataIgnitionUser#gecos} */ readonly gecos?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/user#groups DataIgnitionUser#groups} */ readonly groups?: string[]; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/user#home_dir DataIgnitionUser#home_dir} */ readonly homeDir?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/user#id DataIgnitionUser#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; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/user#name DataIgnitionUser#name} */ readonly name: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/user#no_create_home DataIgnitionUser#no_create_home} */ readonly noCreateHome?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/user#no_log_init DataIgnitionUser#no_log_init} */ readonly noLogInit?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/user#no_user_group DataIgnitionUser#no_user_group} */ readonly noUserGroup?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/user#password_hash DataIgnitionUser#password_hash} */ readonly passwordHash?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/user#primary_group DataIgnitionUser#primary_group} */ readonly primaryGroup?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/user#shell DataIgnitionUser#shell} */ readonly shell?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/user#ssh_authorized_keys DataIgnitionUser#ssh_authorized_keys} */ readonly sshAuthorizedKeys?: string[]; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/user#system DataIgnitionUser#system} */ readonly systemAttribute?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/user#uid DataIgnitionUser#uid} */ readonly uid?: number; } /** * Represents a {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/user ignition_user} */ export declare class DataIgnitionUser extends cdktf.TerraformDataSource { static readonly tfResourceType = "ignition_user"; /** * Generates CDKTF code for importing a DataIgnitionUser resource upon running "cdktf plan <stack-name>" * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the DataIgnitionUser to import * @param importFromId The id of the existing DataIgnitionUser that should be imported. Refer to the {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/user#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataIgnitionUser 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/community-terraform-providers/ignition/2.5.1/docs/data-sources/user ignition_user} Data Source * * @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 DataIgnitionUserConfig */ constructor(scope: Construct, id: string, config: DataIgnitionUserConfig); private _gecos?; get gecos(): string; set gecos(value: string); resetGecos(): void; get gecosInput(): string; private _groups?; get groups(): string[]; set groups(value: string[]); resetGroups(): void; get groupsInput(): string[]; private _homeDir?; get homeDir(): string; set homeDir(value: string); resetHomeDir(): void; get homeDirInput(): string; 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 _noCreateHome?; get noCreateHome(): boolean | cdktf.IResolvable; set noCreateHome(value: boolean | cdktf.IResolvable); resetNoCreateHome(): void; get noCreateHomeInput(): any; private _noLogInit?; get noLogInit(): boolean | cdktf.IResolvable; set noLogInit(value: boolean | cdktf.IResolvable); resetNoLogInit(): void; get noLogInitInput(): any; private _noUserGroup?; get noUserGroup(): boolean | cdktf.IResolvable; set noUserGroup(value: boolean | cdktf.IResolvable); resetNoUserGroup(): void; get noUserGroupInput(): any; private _passwordHash?; get passwordHash(): string; set passwordHash(value: string); resetPasswordHash(): void; get passwordHashInput(): string; private _primaryGroup?; get primaryGroup(): string; set primaryGroup(value: string); resetPrimaryGroup(): void; get primaryGroupInput(): string; get rendered(): any; private _shell?; get shell(): string; set shell(value: string); resetShell(): void; get shellInput(): string; private _sshAuthorizedKeys?; get sshAuthorizedKeys(): string[]; set sshAuthorizedKeys(value: string[]); resetSshAuthorizedKeys(): void; get sshAuthorizedKeysInput(): string[]; private _system?; get systemAttribute(): boolean | cdktf.IResolvable; set systemAttribute(value: boolean | cdktf.IResolvable); resetSystemAttribute(): void; get systemAttributeInput(): any; private _uid?; get uid(): number; set uid(value: number); resetUid(): void; get uidInput(): number; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }