UNPKG

@cdktf-providers/rancher-file

Version:

Prebuilt rancher/file Provider for Terraform CDK (cdktf)

44 lines (43 loc) 2 kB
import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface FileProviderConfig { /** * Alias name * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/file/2.2.2/docs#alias FileProvider#alias} */ readonly alias?: string; } /** * Represents a {@link https://registry.terraform.io/providers/rancher/file/2.2.2/docs file} */ export declare class FileProvider extends cdktf.TerraformProvider { static readonly tfResourceType = "file"; /** * Generates CDKTF code for importing a FileProvider 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 FileProvider to import * @param importFromId The id of the existing FileProvider that should be imported. Refer to the {@link https://registry.terraform.io/providers/rancher/file/2.2.2/docs#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the FileProvider 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/rancher/file/2.2.2/docs file} 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 FileProviderConfig = {} */ constructor(scope: Construct, id: string, config?: FileProviderConfig); private _alias?; get alias(): string | undefined; set alias(value: string | undefined); resetAlias(): void; get aliasInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }