UNPKG

@cdktf/provider-null

Version:

Prebuilt null Provider for Terraform CDK (cdktf)

48 lines (47 loc) 2.12 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface NullProviderConfig { /** * Alias name * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/null/3.2.4/docs#alias NullProvider#alias} */ readonly alias?: string; } /** * Represents a {@link https://registry.terraform.io/providers/hashicorp/null/3.2.4/docs null} */ export declare class NullProvider extends cdktf.TerraformProvider { static readonly tfResourceType = "null"; /** * Generates CDKTF code for importing a NullProvider 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 NullProvider to import * @param importFromId The id of the existing NullProvider that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/null/3.2.4/docs#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the NullProvider to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): cdktf.ImportableResource; /** * Create a new {@link https://registry.terraform.io/providers/hashicorp/null/3.2.4/docs null} 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 NullProviderConfig = {} */ constructor(scope: Construct, id: string, config?: NullProviderConfig); private _alias?; get alias(): string | undefined; set alias(value: string | undefined); resetAlias(): void; get aliasInput(): string | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }