UNPKG

@cdktf-providers/rancher-file

Version:

Prebuilt rancher/file Provider for Terraform CDK (cdktf)

56 lines (55 loc) 2.9 kB
import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface LocalDirectoryConfig extends cdktf.TerraformMetaArguments { /** * Directory path, required. All subdirectories will also be created. Changing this forces recreate. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/file/2.2.2/docs/resources/local_directory#path LocalDirectory#path} */ readonly path: string; /** * The directory permissions to assign to the directory, defaults to '0700'. In order to automatically create subdirectories the owner must have execute access, ie. '0600' or less prevents the provider from creating subdirectories. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/rancher/file/2.2.2/docs/resources/local_directory#permissions LocalDirectory#permissions} */ readonly permissions?: string; } /** * Represents a {@link https://registry.terraform.io/providers/rancher/file/2.2.2/docs/resources/local_directory file_local_directory} */ export declare class LocalDirectory extends cdktf.TerraformResource { static readonly tfResourceType = "file_local_directory"; /** * Generates CDKTF code for importing a LocalDirectory 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 LocalDirectory to import * @param importFromId The id of the existing LocalDirectory that should be imported. Refer to the {@link https://registry.terraform.io/providers/rancher/file/2.2.2/docs/resources/local_directory#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the LocalDirectory 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/resources/local_directory file_local_directory} 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 LocalDirectoryConfig */ constructor(scope: Construct, id: string, config: LocalDirectoryConfig); get created(): any; get id(): any; private _path?; get path(): string; set path(value: string); get pathInput(): string; private _permissions?; get permissions(): string; set permissions(value: string); resetPermissions(): void; get permissionsInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }