UNPKG

@cdktf-providers/andrewchubatiuk-ignition

Version:

Prebuilt AndrewChubatiuk/ignition Provider for Terraform CDK (cdktf)

90 lines (89 loc) 4.34 kB
import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataIgnitionDirectoryConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/andrewchubatiuk/ignition/0.0.1/docs/data-sources/directory#gid DataIgnitionDirectory#gid} */ readonly gid?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/andrewchubatiuk/ignition/0.0.1/docs/data-sources/directory#id DataIgnitionDirectory#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/andrewchubatiuk/ignition/0.0.1/docs/data-sources/directory#mode DataIgnitionDirectory#mode} */ readonly mode?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/andrewchubatiuk/ignition/0.0.1/docs/data-sources/directory#overwrite DataIgnitionDirectory#overwrite} */ readonly overwrite?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/andrewchubatiuk/ignition/0.0.1/docs/data-sources/directory#path DataIgnitionDirectory#path} */ readonly path: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/andrewchubatiuk/ignition/0.0.1/docs/data-sources/directory#uid DataIgnitionDirectory#uid} */ readonly uid?: number; } /** * Represents a {@link https://registry.terraform.io/providers/andrewchubatiuk/ignition/0.0.1/docs/data-sources/directory ignition_directory} */ export declare class DataIgnitionDirectory extends cdktf.TerraformDataSource { static readonly tfResourceType = "ignition_directory"; /** * Generates CDKTF code for importing a DataIgnitionDirectory 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 DataIgnitionDirectory to import * @param importFromId The id of the existing DataIgnitionDirectory that should be imported. Refer to the {@link https://registry.terraform.io/providers/andrewchubatiuk/ignition/0.0.1/docs/data-sources/directory#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataIgnitionDirectory 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/andrewchubatiuk/ignition/0.0.1/docs/data-sources/directory ignition_directory} 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 DataIgnitionDirectoryConfig */ constructor(scope: Construct, id: string, config: DataIgnitionDirectoryConfig); private _gid?; get gid(): number; set gid(value: number); resetGid(): void; get gidInput(): number; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _mode?; get mode(): number; set mode(value: number); resetMode(): void; get modeInput(): number; private _overwrite?; get overwrite(): boolean | cdktf.IResolvable; set overwrite(value: boolean | cdktf.IResolvable); resetOverwrite(): void; get overwriteInput(): any; private _path?; get path(): string; set path(value: string); get pathInput(): string; get rendered(): 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; }; }