@cdktf/provider-databricks
Version:
Prebuilt databricks Provider for Terraform CDK (cdktf)
121 lines (120 loc) • 7.1 kB
TypeScript
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataDatabricksWorkspaceEntityTagAssignmentsConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.99.0/docs/data-sources/workspace_entity_tag_assignments#entity_id DataDatabricksWorkspaceEntityTagAssignments#entity_id}
*/
readonly entityId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.99.0/docs/data-sources/workspace_entity_tag_assignments#entity_type DataDatabricksWorkspaceEntityTagAssignments#entity_type}
*/
readonly entityType: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.99.0/docs/data-sources/workspace_entity_tag_assignments#page_size DataDatabricksWorkspaceEntityTagAssignments#page_size}
*/
readonly pageSize?: number;
}
export interface DataDatabricksWorkspaceEntityTagAssignmentsTagAssignments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.99.0/docs/data-sources/workspace_entity_tag_assignments#entity_id DataDatabricksWorkspaceEntityTagAssignments#entity_id}
*/
readonly entityId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.99.0/docs/data-sources/workspace_entity_tag_assignments#entity_type DataDatabricksWorkspaceEntityTagAssignments#entity_type}
*/
readonly entityType: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.99.0/docs/data-sources/workspace_entity_tag_assignments#tag_key DataDatabricksWorkspaceEntityTagAssignments#tag_key}
*/
readonly tagKey: string;
}
export declare function dataDatabricksWorkspaceEntityTagAssignmentsTagAssignmentsToTerraform(struct?: DataDatabricksWorkspaceEntityTagAssignmentsTagAssignments): any;
export declare function dataDatabricksWorkspaceEntityTagAssignmentsTagAssignmentsToHclTerraform(struct?: DataDatabricksWorkspaceEntityTagAssignmentsTagAssignments): any;
export declare class DataDatabricksWorkspaceEntityTagAssignmentsTagAssignmentsOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @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(): DataDatabricksWorkspaceEntityTagAssignmentsTagAssignments | undefined;
set internalValue(value: DataDatabricksWorkspaceEntityTagAssignmentsTagAssignments | undefined);
private _entityId?;
get entityId(): string;
set entityId(value: string);
get entityIdInput(): string | undefined;
private _entityType?;
get entityType(): string;
set entityType(value: string);
get entityTypeInput(): string | undefined;
private _tagKey?;
get tagKey(): string;
set tagKey(value: string);
get tagKeyInput(): string | undefined;
get tagValue(): string;
}
export declare class DataDatabricksWorkspaceEntityTagAssignmentsTagAssignmentsList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: DataDatabricksWorkspaceEntityTagAssignmentsTagAssignments[] | 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): DataDatabricksWorkspaceEntityTagAssignmentsTagAssignmentsOutputReference;
}
/**
* Represents a {@link https://registry.terraform.io/providers/databricks/databricks/1.99.0/docs/data-sources/workspace_entity_tag_assignments databricks_workspace_entity_tag_assignments}
*/
export declare class DataDatabricksWorkspaceEntityTagAssignments extends cdktf.TerraformDataSource {
static readonly tfResourceType = "databricks_workspace_entity_tag_assignments";
/**
* Generates CDKTF code for importing a DataDatabricksWorkspaceEntityTagAssignments 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 DataDatabricksWorkspaceEntityTagAssignments to import
* @param importFromId The id of the existing DataDatabricksWorkspaceEntityTagAssignments that should be imported. Refer to the {@link https://registry.terraform.io/providers/databricks/databricks/1.99.0/docs/data-sources/workspace_entity_tag_assignments#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataDatabricksWorkspaceEntityTagAssignments 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.99.0/docs/data-sources/workspace_entity_tag_assignments databricks_workspace_entity_tag_assignments} 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 DataDatabricksWorkspaceEntityTagAssignmentsConfig
*/
constructor(scope: Construct, id: string, config: DataDatabricksWorkspaceEntityTagAssignmentsConfig);
private _entityId?;
get entityId(): string;
set entityId(value: string);
get entityIdInput(): string | undefined;
private _entityType?;
get entityType(): string;
set entityType(value: string);
get entityTypeInput(): string | undefined;
private _pageSize?;
get pageSize(): number;
set pageSize(value: number);
resetPageSize(): void;
get pageSizeInput(): number | undefined;
private _tagAssignments;
get tagAssignments(): DataDatabricksWorkspaceEntityTagAssignmentsTagAssignmentsList;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}