@cdktf-providers/andrewchubatiuk-ignition
Version:
Prebuilt AndrewChubatiuk/ignition Provider for Terraform CDK (cdktf)
230 lines (229 loc) • 11 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataIgnitionConfigConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/andrewchubatiuk/ignition/0.0.1/docs/data-sources/config#arrays DataIgnitionConfig#arrays}
*/
readonly arrays?: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/andrewchubatiuk/ignition/0.0.1/docs/data-sources/config#directories DataIgnitionConfig#directories}
*/
readonly directories?: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/andrewchubatiuk/ignition/0.0.1/docs/data-sources/config#disks DataIgnitionConfig#disks}
*/
readonly disks?: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/andrewchubatiuk/ignition/0.0.1/docs/data-sources/config#files DataIgnitionConfig#files}
*/
readonly files?: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/andrewchubatiuk/ignition/0.0.1/docs/data-sources/config#filesystems DataIgnitionConfig#filesystems}
*/
readonly filesystems?: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/andrewchubatiuk/ignition/0.0.1/docs/data-sources/config#groups DataIgnitionConfig#groups}
*/
readonly groups?: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/andrewchubatiuk/ignition/0.0.1/docs/data-sources/config#id DataIgnitionConfig#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/config#links DataIgnitionConfig#links}
*/
readonly links?: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/andrewchubatiuk/ignition/0.0.1/docs/data-sources/config#systemd DataIgnitionConfig#systemd}
*/
readonly systemd?: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/andrewchubatiuk/ignition/0.0.1/docs/data-sources/config#users DataIgnitionConfig#users}
*/
readonly users?: string[];
/**
* merge block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/andrewchubatiuk/ignition/0.0.1/docs/data-sources/config#merge DataIgnitionConfig#merge}
*/
readonly merge?: DataIgnitionConfigMerge[] | cdktf.IResolvable;
/**
* replace block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/andrewchubatiuk/ignition/0.0.1/docs/data-sources/config#replace DataIgnitionConfig#replace}
*/
readonly replace?: DataIgnitionConfigReplace;
}
export interface DataIgnitionConfigMerge {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/andrewchubatiuk/ignition/0.0.1/docs/data-sources/config#source DataIgnitionConfig#source}
*/
readonly source: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/andrewchubatiuk/ignition/0.0.1/docs/data-sources/config#verification DataIgnitionConfig#verification}
*/
readonly verification?: string;
}
export declare function dataIgnitionConfigMergeToTerraform(struct?: DataIgnitionConfigMerge | cdktf.IResolvable): any;
export declare function dataIgnitionConfigMergeToHclTerraform(struct?: DataIgnitionConfigMerge | cdktf.IResolvable): any;
export declare class DataIgnitionConfigMergeOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
private resolvableValue?;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
get internalValue(): DataIgnitionConfigMerge | cdktf.IResolvable | undefined;
set internalValue(value: DataIgnitionConfigMerge | cdktf.IResolvable | undefined);
private _source?;
get source(): string;
set source(value: string);
get sourceInput(): string;
private _verification?;
get verification(): string;
set verification(value: string);
resetVerification(): void;
get verificationInput(): string;
}
export declare class DataIgnitionConfigMergeList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: DataIgnitionConfigMerge[] | cdktf.IResolvable;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
/**
* @param index the index of the item to return
*/
get(index: number): DataIgnitionConfigMergeOutputReference;
}
export interface DataIgnitionConfigReplace {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/andrewchubatiuk/ignition/0.0.1/docs/data-sources/config#source DataIgnitionConfig#source}
*/
readonly source: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/andrewchubatiuk/ignition/0.0.1/docs/data-sources/config#verification DataIgnitionConfig#verification}
*/
readonly verification?: string;
}
export declare function dataIgnitionConfigReplaceToTerraform(struct?: DataIgnitionConfigReplaceOutputReference | DataIgnitionConfigReplace): any;
export declare function dataIgnitionConfigReplaceToHclTerraform(struct?: DataIgnitionConfigReplaceOutputReference | DataIgnitionConfigReplace): any;
export declare class DataIgnitionConfigReplaceOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
get internalValue(): DataIgnitionConfigReplace | undefined;
set internalValue(value: DataIgnitionConfigReplace | undefined);
private _source?;
get source(): string;
set source(value: string);
get sourceInput(): string;
private _verification?;
get verification(): string;
set verification(value: string);
resetVerification(): void;
get verificationInput(): string;
}
/**
* Represents a {@link https://registry.terraform.io/providers/andrewchubatiuk/ignition/0.0.1/docs/data-sources/config ignition_config}
*/
export declare class DataIgnitionConfig extends cdktf.TerraformDataSource {
static readonly tfResourceType = "ignition_config";
/**
* Generates CDKTF code for importing a DataIgnitionConfig 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 DataIgnitionConfig to import
* @param importFromId The id of the existing DataIgnitionConfig that should be imported. Refer to the {@link https://registry.terraform.io/providers/andrewchubatiuk/ignition/0.0.1/docs/data-sources/config#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataIgnitionConfig 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/config ignition_config} 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 DataIgnitionConfigConfig = {}
*/
constructor(scope: Construct, id: string, config?: DataIgnitionConfigConfig);
private _arrays?;
get arrays(): string[];
set arrays(value: string[]);
resetArrays(): void;
get arraysInput(): string[];
private _directories?;
get directories(): string[];
set directories(value: string[]);
resetDirectories(): void;
get directoriesInput(): string[];
private _disks?;
get disks(): string[];
set disks(value: string[]);
resetDisks(): void;
get disksInput(): string[];
private _files?;
get files(): string[];
set files(value: string[]);
resetFiles(): void;
get filesInput(): string[];
private _filesystems?;
get filesystems(): string[];
set filesystems(value: string[]);
resetFilesystems(): void;
get filesystemsInput(): string[];
private _groups?;
get groups(): string[];
set groups(value: string[]);
resetGroups(): void;
get groupsInput(): string[];
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string;
private _links?;
get links(): string[];
set links(value: string[]);
resetLinks(): void;
get linksInput(): string[];
get rendered(): any;
private _systemd?;
get systemd(): string[];
set systemd(value: string[]);
resetSystemd(): void;
get systemdInput(): string[];
private _users?;
get users(): string[];
set users(value: string[]);
resetUsers(): void;
get usersInput(): string[];
private _merge;
get merge(): DataIgnitionConfigMergeList;
putMerge(value: DataIgnitionConfigMerge[] | cdktf.IResolvable): void;
resetMerge(): void;
get mergeInput(): any;
private _replace;
get replace(): DataIgnitionConfigReplaceOutputReference;
putReplace(value: DataIgnitionConfigReplace): void;
resetReplace(): void;
get replaceInput(): DataIgnitionConfigReplace;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}