@cdktf/provider-databricks
Version:
Prebuilt databricks Provider for Terraform CDK (cdktf)
328 lines (327 loc) • 18.3 kB
TypeScript
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataDatabricksSharePluginframeworkConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/data-sources/share_pluginframework#comment DataDatabricksSharePluginframework#comment}
*/
readonly comment?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/data-sources/share_pluginframework#name DataDatabricksSharePluginframework#name}
*/
readonly name?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/data-sources/share_pluginframework#object DataDatabricksSharePluginframework#object}
*/
readonly object?: DataDatabricksSharePluginframeworkObject[] | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/data-sources/share_pluginframework#owner DataDatabricksSharePluginframework#owner}
*/
readonly owner?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/data-sources/share_pluginframework#storage_root DataDatabricksSharePluginframework#storage_root}
*/
readonly storageRoot?: string;
}
export interface DataDatabricksSharePluginframeworkObjectPartitionValue {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/data-sources/share_pluginframework#name DataDatabricksSharePluginframework#name}
*/
readonly name?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/data-sources/share_pluginframework#op DataDatabricksSharePluginframework#op}
*/
readonly op?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/data-sources/share_pluginframework#recipient_property_key DataDatabricksSharePluginframework#recipient_property_key}
*/
readonly recipientPropertyKey?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/data-sources/share_pluginframework#value DataDatabricksSharePluginframework#value}
*/
readonly value?: string;
}
export declare function dataDatabricksSharePluginframeworkObjectPartitionValueToTerraform(struct?: DataDatabricksSharePluginframeworkObjectPartitionValue | cdktf.IResolvable): any;
export declare function dataDatabricksSharePluginframeworkObjectPartitionValueToHclTerraform(struct?: DataDatabricksSharePluginframeworkObjectPartitionValue | cdktf.IResolvable): any;
export declare class DataDatabricksSharePluginframeworkObjectPartitionValueOutputReference 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(): DataDatabricksSharePluginframeworkObjectPartitionValue | cdktf.IResolvable | undefined;
set internalValue(value: DataDatabricksSharePluginframeworkObjectPartitionValue | cdktf.IResolvable | undefined);
private _name?;
get name(): string;
set name(value: string);
resetName(): void;
get nameInput(): string | undefined;
private _op?;
get op(): string;
set op(value: string);
resetOp(): void;
get opInput(): string | undefined;
private _recipientPropertyKey?;
get recipientPropertyKey(): string;
set recipientPropertyKey(value: string);
resetRecipientPropertyKey(): void;
get recipientPropertyKeyInput(): string | undefined;
private _value?;
get value(): string;
set value(value: string);
resetValue(): void;
get valueInput(): string | undefined;
}
export declare class DataDatabricksSharePluginframeworkObjectPartitionValueList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: DataDatabricksSharePluginframeworkObjectPartitionValue[] | 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): DataDatabricksSharePluginframeworkObjectPartitionValueOutputReference;
}
export interface DataDatabricksSharePluginframeworkObjectPartition {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/data-sources/share_pluginframework#value DataDatabricksSharePluginframework#value}
*/
readonly value?: DataDatabricksSharePluginframeworkObjectPartitionValue[] | cdktf.IResolvable;
}
export declare function dataDatabricksSharePluginframeworkObjectPartitionToTerraform(struct?: DataDatabricksSharePluginframeworkObjectPartition | cdktf.IResolvable): any;
export declare function dataDatabricksSharePluginframeworkObjectPartitionToHclTerraform(struct?: DataDatabricksSharePluginframeworkObjectPartition | cdktf.IResolvable): any;
export declare class DataDatabricksSharePluginframeworkObjectPartitionOutputReference 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(): DataDatabricksSharePluginframeworkObjectPartition | cdktf.IResolvable | undefined;
set internalValue(value: DataDatabricksSharePluginframeworkObjectPartition | cdktf.IResolvable | undefined);
private _value;
get value(): DataDatabricksSharePluginframeworkObjectPartitionValueList;
putValue(value: DataDatabricksSharePluginframeworkObjectPartitionValue[] | cdktf.IResolvable): void;
resetValue(): void;
get valueInput(): cdktf.IResolvable | DataDatabricksSharePluginframeworkObjectPartitionValue[] | undefined;
}
export declare class DataDatabricksSharePluginframeworkObjectPartitionList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: DataDatabricksSharePluginframeworkObjectPartition[] | 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): DataDatabricksSharePluginframeworkObjectPartitionOutputReference;
}
export interface DataDatabricksSharePluginframeworkObject {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/data-sources/share_pluginframework#cdf_enabled DataDatabricksSharePluginframework#cdf_enabled}
*/
readonly cdfEnabled?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/data-sources/share_pluginframework#comment DataDatabricksSharePluginframework#comment}
*/
readonly comment?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/data-sources/share_pluginframework#content DataDatabricksSharePluginframework#content}
*/
readonly content?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/data-sources/share_pluginframework#data_object_type DataDatabricksSharePluginframework#data_object_type}
*/
readonly dataObjectType?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/data-sources/share_pluginframework#history_data_sharing_status DataDatabricksSharePluginframework#history_data_sharing_status}
*/
readonly historyDataSharingStatus?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/data-sources/share_pluginframework#name DataDatabricksSharePluginframework#name}
*/
readonly name: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/data-sources/share_pluginframework#partition DataDatabricksSharePluginframework#partition}
*/
readonly partition?: DataDatabricksSharePluginframeworkObjectPartition[] | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/data-sources/share_pluginframework#shared_as DataDatabricksSharePluginframework#shared_as}
*/
readonly sharedAs?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/data-sources/share_pluginframework#start_version DataDatabricksSharePluginframework#start_version}
*/
readonly startVersion?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/data-sources/share_pluginframework#string_shared_as DataDatabricksSharePluginframework#string_shared_as}
*/
readonly stringSharedAs?: string;
}
export declare function dataDatabricksSharePluginframeworkObjectToTerraform(struct?: DataDatabricksSharePluginframeworkObject | cdktf.IResolvable): any;
export declare function dataDatabricksSharePluginframeworkObjectToHclTerraform(struct?: DataDatabricksSharePluginframeworkObject | cdktf.IResolvable): any;
export declare class DataDatabricksSharePluginframeworkObjectOutputReference 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(): DataDatabricksSharePluginframeworkObject | cdktf.IResolvable | undefined;
set internalValue(value: DataDatabricksSharePluginframeworkObject | cdktf.IResolvable | undefined);
get addedAt(): number;
get addedBy(): string;
private _cdfEnabled?;
get cdfEnabled(): boolean | cdktf.IResolvable;
set cdfEnabled(value: boolean | cdktf.IResolvable);
resetCdfEnabled(): void;
get cdfEnabledInput(): boolean | cdktf.IResolvable | undefined;
private _comment?;
get comment(): string;
set comment(value: string);
resetComment(): void;
get commentInput(): string | undefined;
private _content?;
get content(): string;
set content(value: string);
resetContent(): void;
get contentInput(): string | undefined;
private _dataObjectType?;
get dataObjectType(): string;
set dataObjectType(value: string);
resetDataObjectType(): void;
get dataObjectTypeInput(): string | undefined;
get effectiveCdfEnabled(): cdktf.IResolvable;
get effectiveHistoryDataSharingStatus(): string;
get effectiveSharedAs(): string;
get effectiveStartVersion(): number;
private _historyDataSharingStatus?;
get historyDataSharingStatus(): string;
set historyDataSharingStatus(value: string);
resetHistoryDataSharingStatus(): void;
get historyDataSharingStatusInput(): string | undefined;
private _name?;
get name(): string;
set name(value: string);
get nameInput(): string | undefined;
private _partition;
get partition(): DataDatabricksSharePluginframeworkObjectPartitionList;
putPartition(value: DataDatabricksSharePluginframeworkObjectPartition[] | cdktf.IResolvable): void;
resetPartition(): void;
get partitionInput(): cdktf.IResolvable | DataDatabricksSharePluginframeworkObjectPartition[] | undefined;
private _sharedAs?;
get sharedAs(): string;
set sharedAs(value: string);
resetSharedAs(): void;
get sharedAsInput(): string | undefined;
private _startVersion?;
get startVersion(): number;
set startVersion(value: number);
resetStartVersion(): void;
get startVersionInput(): number | undefined;
get status(): string;
private _stringSharedAs?;
get stringSharedAs(): string;
set stringSharedAs(value: string);
resetStringSharedAs(): void;
get stringSharedAsInput(): string | undefined;
}
export declare class DataDatabricksSharePluginframeworkObjectList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: DataDatabricksSharePluginframeworkObject[] | 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): DataDatabricksSharePluginframeworkObjectOutputReference;
}
/**
* Represents a {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/data-sources/share_pluginframework databricks_share_pluginframework}
*/
export declare class DataDatabricksSharePluginframework extends cdktf.TerraformDataSource {
static readonly tfResourceType = "databricks_share_pluginframework";
/**
* Generates CDKTF code for importing a DataDatabricksSharePluginframework 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 DataDatabricksSharePluginframework to import
* @param importFromId The id of the existing DataDatabricksSharePluginframework that should be imported. Refer to the {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/data-sources/share_pluginframework#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataDatabricksSharePluginframework 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/databricks/databricks/1.71.0/docs/data-sources/share_pluginframework databricks_share_pluginframework} 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 DataDatabricksSharePluginframeworkConfig = {}
*/
constructor(scope: Construct, id: string, config?: DataDatabricksSharePluginframeworkConfig);
private _comment?;
get comment(): string;
set comment(value: string);
resetComment(): void;
get commentInput(): string | undefined;
get createdAt(): number;
get createdBy(): string;
get effectiveOwner(): string;
private _name?;
get name(): string;
set name(value: string);
resetName(): void;
get nameInput(): string | undefined;
private _object;
get object(): DataDatabricksSharePluginframeworkObjectList;
putObject(value: DataDatabricksSharePluginframeworkObject[] | cdktf.IResolvable): void;
resetObject(): void;
get objectInput(): cdktf.IResolvable | DataDatabricksSharePluginframeworkObject[] | undefined;
private _owner?;
get owner(): string;
set owner(value: string);
resetOwner(): void;
get ownerInput(): string | undefined;
get storageLocation(): string;
private _storageRoot?;
get storageRoot(): string;
set storageRoot(value: string);
resetStorageRoot(): void;
get storageRootInput(): string | undefined;
get updatedAt(): number;
get updatedBy(): string;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}