@cdktf/provider-databricks
Version:
Prebuilt databricks Provider for Terraform CDK (cdktf)
183 lines (182 loc) • 9.43 kB
TypeScript
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataDatabricksGroupConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/data-sources/group#acl_principal_id DataDatabricksGroup#acl_principal_id}
*/
readonly aclPrincipalId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/data-sources/group#allow_cluster_create DataDatabricksGroup#allow_cluster_create}
*/
readonly allowClusterCreate?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/data-sources/group#allow_instance_pool_create DataDatabricksGroup#allow_instance_pool_create}
*/
readonly allowInstancePoolCreate?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/data-sources/group#child_groups DataDatabricksGroup#child_groups}
*/
readonly childGroups?: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/data-sources/group#databricks_sql_access DataDatabricksGroup#databricks_sql_access}
*/
readonly databricksSqlAccess?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/data-sources/group#display_name DataDatabricksGroup#display_name}
*/
readonly displayName: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/data-sources/group#external_id DataDatabricksGroup#external_id}
*/
readonly externalId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/data-sources/group#groups DataDatabricksGroup#groups}
*/
readonly groups?: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/data-sources/group#id DataDatabricksGroup#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.90.0/docs/data-sources/group#instance_profiles DataDatabricksGroup#instance_profiles}
*/
readonly instanceProfiles?: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/data-sources/group#members DataDatabricksGroup#members}
*/
readonly members?: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/data-sources/group#recursive DataDatabricksGroup#recursive}
*/
readonly recursive?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/data-sources/group#service_principals DataDatabricksGroup#service_principals}
*/
readonly servicePrincipals?: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/data-sources/group#users DataDatabricksGroup#users}
*/
readonly users?: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/data-sources/group#workspace_access DataDatabricksGroup#workspace_access}
*/
readonly workspaceAccess?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/data-sources/group#workspace_consume DataDatabricksGroup#workspace_consume}
*/
readonly workspaceConsume?: boolean | cdktf.IResolvable;
}
/**
* Represents a {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/data-sources/group databricks_group}
*/
export declare class DataDatabricksGroup extends cdktf.TerraformDataSource {
static readonly tfResourceType = "databricks_group";
/**
* Generates CDKTF code for importing a DataDatabricksGroup 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 DataDatabricksGroup to import
* @param importFromId The id of the existing DataDatabricksGroup that should be imported. Refer to the {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/data-sources/group#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataDatabricksGroup 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.90.0/docs/data-sources/group databricks_group} 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 DataDatabricksGroupConfig
*/
constructor(scope: Construct, id: string, config: DataDatabricksGroupConfig);
private _aclPrincipalId?;
get aclPrincipalId(): string;
set aclPrincipalId(value: string);
resetAclPrincipalId(): void;
get aclPrincipalIdInput(): string | undefined;
private _allowClusterCreate?;
get allowClusterCreate(): boolean | cdktf.IResolvable;
set allowClusterCreate(value: boolean | cdktf.IResolvable);
resetAllowClusterCreate(): void;
get allowClusterCreateInput(): boolean | cdktf.IResolvable | undefined;
private _allowInstancePoolCreate?;
get allowInstancePoolCreate(): boolean | cdktf.IResolvable;
set allowInstancePoolCreate(value: boolean | cdktf.IResolvable);
resetAllowInstancePoolCreate(): void;
get allowInstancePoolCreateInput(): boolean | cdktf.IResolvable | undefined;
private _childGroups?;
get childGroups(): string[];
set childGroups(value: string[]);
resetChildGroups(): void;
get childGroupsInput(): string[] | undefined;
private _databricksSqlAccess?;
get databricksSqlAccess(): boolean | cdktf.IResolvable;
set databricksSqlAccess(value: boolean | cdktf.IResolvable);
resetDatabricksSqlAccess(): void;
get databricksSqlAccessInput(): boolean | cdktf.IResolvable | undefined;
private _displayName?;
get displayName(): string;
set displayName(value: string);
get displayNameInput(): string | undefined;
private _externalId?;
get externalId(): string;
set externalId(value: string);
resetExternalId(): void;
get externalIdInput(): string | undefined;
private _groups?;
get groups(): string[];
set groups(value: string[]);
resetGroups(): void;
get groupsInput(): string[] | undefined;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _instanceProfiles?;
get instanceProfiles(): string[];
set instanceProfiles(value: string[]);
resetInstanceProfiles(): void;
get instanceProfilesInput(): string[] | undefined;
private _members?;
get members(): string[];
set members(value: string[]);
resetMembers(): void;
get membersInput(): string[] | undefined;
private _recursive?;
get recursive(): boolean | cdktf.IResolvable;
set recursive(value: boolean | cdktf.IResolvable);
resetRecursive(): void;
get recursiveInput(): boolean | cdktf.IResolvable | undefined;
private _servicePrincipals?;
get servicePrincipals(): string[];
set servicePrincipals(value: string[]);
resetServicePrincipals(): void;
get servicePrincipalsInput(): string[] | undefined;
private _users?;
get users(): string[];
set users(value: string[]);
resetUsers(): void;
get usersInput(): string[] | undefined;
private _workspaceAccess?;
get workspaceAccess(): boolean | cdktf.IResolvable;
set workspaceAccess(value: boolean | cdktf.IResolvable);
resetWorkspaceAccess(): void;
get workspaceAccessInput(): boolean | cdktf.IResolvable | undefined;
private _workspaceConsume?;
get workspaceConsume(): boolean | cdktf.IResolvable;
set workspaceConsume(value: boolean | cdktf.IResolvable);
resetWorkspaceConsume(): void;
get workspaceConsumeInput(): boolean | cdktf.IResolvable | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}