@cdktf/provider-databricks
Version:
Prebuilt databricks Provider for Terraform CDK (cdktf)
111 lines (110 loc) • 5.36 kB
TypeScript
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface SqlDashboardConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.99.0/docs/resources/sql_dashboard#created_at SqlDashboard#created_at}
*/
readonly createdAt?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.99.0/docs/resources/sql_dashboard#dashboard_filters_enabled SqlDashboard#dashboard_filters_enabled}
*/
readonly dashboardFiltersEnabled?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.99.0/docs/resources/sql_dashboard#id SqlDashboard#id}
*
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
* If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
*/
readonly id?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.99.0/docs/resources/sql_dashboard#name SqlDashboard#name}
*/
readonly name: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.99.0/docs/resources/sql_dashboard#parent SqlDashboard#parent}
*/
readonly parent?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.99.0/docs/resources/sql_dashboard#run_as_role SqlDashboard#run_as_role}
*/
readonly runAsRole?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.99.0/docs/resources/sql_dashboard#tags SqlDashboard#tags}
*/
readonly tags?: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.99.0/docs/resources/sql_dashboard#updated_at SqlDashboard#updated_at}
*/
readonly updatedAt?: string;
}
/**
* Represents a {@link https://registry.terraform.io/providers/databricks/databricks/1.99.0/docs/resources/sql_dashboard databricks_sql_dashboard}
*/
export declare class SqlDashboard extends cdktf.TerraformResource {
static readonly tfResourceType = "databricks_sql_dashboard";
/**
* Generates CDKTF code for importing a SqlDashboard 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 SqlDashboard to import
* @param importFromId The id of the existing SqlDashboard that should be imported. Refer to the {@link https://registry.terraform.io/providers/databricks/databricks/1.99.0/docs/resources/sql_dashboard#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the SqlDashboard 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/resources/sql_dashboard databricks_sql_dashboard} 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 SqlDashboardConfig
*/
constructor(scope: Construct, id: string, config: SqlDashboardConfig);
private _createdAt?;
get createdAt(): string;
set createdAt(value: string);
resetCreatedAt(): void;
get createdAtInput(): string | undefined;
private _dashboardFiltersEnabled?;
get dashboardFiltersEnabled(): boolean | cdktf.IResolvable;
set dashboardFiltersEnabled(value: boolean | cdktf.IResolvable);
resetDashboardFiltersEnabled(): void;
get dashboardFiltersEnabledInput(): boolean | cdktf.IResolvable | undefined;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _name?;
get name(): string;
set name(value: string);
get nameInput(): string | undefined;
private _parent?;
get parent(): string;
set parent(value: string);
resetParent(): void;
get parentInput(): string | undefined;
private _runAsRole?;
get runAsRole(): string;
set runAsRole(value: string);
resetRunAsRole(): void;
get runAsRoleInput(): string | undefined;
private _tags?;
get tags(): string[];
set tags(value: string[]);
resetTags(): void;
get tagsInput(): string[] | undefined;
private _updatedAt?;
get updatedAt(): string;
set updatedAt(value: string);
resetUpdatedAt(): void;
get updatedAtInput(): string | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}