UNPKG

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

Version:

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

142 lines (141 loc) 7.48 kB
import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataIgnitionSystemdUnitConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/systemd_unit#content DataIgnitionSystemdUnit#content} */ readonly content?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/systemd_unit#enabled DataIgnitionSystemdUnit#enabled} */ readonly enabled?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/systemd_unit#id DataIgnitionSystemdUnit#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/systemd_unit#mask DataIgnitionSystemdUnit#mask} */ readonly mask?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/systemd_unit#name DataIgnitionSystemdUnit#name} */ readonly name: string; /** * dropin block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/systemd_unit#dropin DataIgnitionSystemdUnit#dropin} */ readonly dropin?: DataIgnitionSystemdUnitDropin[] | cdktf.IResolvable; } export interface DataIgnitionSystemdUnitDropin { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/systemd_unit#content DataIgnitionSystemdUnit#content} */ readonly content?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/systemd_unit#name DataIgnitionSystemdUnit#name} */ readonly name: string; } export declare function dataIgnitionSystemdUnitDropinToTerraform(struct?: DataIgnitionSystemdUnitDropin | cdktf.IResolvable): any; export declare function dataIgnitionSystemdUnitDropinToHclTerraform(struct?: DataIgnitionSystemdUnitDropin | cdktf.IResolvable): any; export declare class DataIgnitionSystemdUnitDropinOutputReference 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(): DataIgnitionSystemdUnitDropin | cdktf.IResolvable | undefined; set internalValue(value: DataIgnitionSystemdUnitDropin | cdktf.IResolvable | undefined); private _content?; get content(): string; set content(value: string); resetContent(): void; get contentInput(): string; private _name?; get name(): string; set name(value: string); get nameInput(): string; } export declare class DataIgnitionSystemdUnitDropinList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: DataIgnitionSystemdUnitDropin[] | 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): DataIgnitionSystemdUnitDropinOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/systemd_unit ignition_systemd_unit} */ export declare class DataIgnitionSystemdUnit extends cdktf.TerraformDataSource { static readonly tfResourceType = "ignition_systemd_unit"; /** * Generates CDKTF code for importing a DataIgnitionSystemdUnit 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 DataIgnitionSystemdUnit to import * @param importFromId The id of the existing DataIgnitionSystemdUnit that should be imported. Refer to the {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/systemd_unit#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataIgnitionSystemdUnit 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/systemd_unit ignition_systemd_unit} 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 DataIgnitionSystemdUnitConfig */ constructor(scope: Construct, id: string, config: DataIgnitionSystemdUnitConfig); private _content?; get content(): string; set content(value: string); resetContent(): void; get contentInput(): string; private _enabled?; get enabled(): boolean | cdktf.IResolvable; set enabled(value: boolean | cdktf.IResolvable); resetEnabled(): void; get enabledInput(): any; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _mask?; get mask(): boolean | cdktf.IResolvable; set mask(value: boolean | cdktf.IResolvable); resetMask(): void; get maskInput(): any; private _name?; get name(): string; set name(value: string); get nameInput(): string; get rendered(): any; private _dropin; get dropin(): DataIgnitionSystemdUnitDropinList; putDropin(value: DataIgnitionSystemdUnitDropin[] | cdktf.IResolvable): void; resetDropin(): void; get dropinInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }