@cdktf/provider-databricks
Version:
Prebuilt databricks Provider for Terraform CDK (cdktf)
110 lines (109 loc) • 6.54 kB
TypeScript
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataDatabricksCleanRoomAutoApprovalRulesConfig extends cdktf.TerraformMetaArguments {
}
export interface DataDatabricksCleanRoomAutoApprovalRulesRules {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.86.0/docs/data-sources/clean_room_auto_approval_rules#author_collaborator_alias DataDatabricksCleanRoomAutoApprovalRules#author_collaborator_alias}
*/
readonly authorCollaboratorAlias?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.86.0/docs/data-sources/clean_room_auto_approval_rules#author_scope DataDatabricksCleanRoomAutoApprovalRules#author_scope}
*/
readonly authorScope?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.86.0/docs/data-sources/clean_room_auto_approval_rules#clean_room_name DataDatabricksCleanRoomAutoApprovalRules#clean_room_name}
*/
readonly cleanRoomName?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.86.0/docs/data-sources/clean_room_auto_approval_rules#runner_collaborator_alias DataDatabricksCleanRoomAutoApprovalRules#runner_collaborator_alias}
*/
readonly runnerCollaboratorAlias?: string;
}
export declare function dataDatabricksCleanRoomAutoApprovalRulesRulesToTerraform(struct?: DataDatabricksCleanRoomAutoApprovalRulesRules): any;
export declare function dataDatabricksCleanRoomAutoApprovalRulesRulesToHclTerraform(struct?: DataDatabricksCleanRoomAutoApprovalRulesRules): any;
export declare class DataDatabricksCleanRoomAutoApprovalRulesRulesOutputReference 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(): DataDatabricksCleanRoomAutoApprovalRulesRules | undefined;
set internalValue(value: DataDatabricksCleanRoomAutoApprovalRulesRules | undefined);
private _authorCollaboratorAlias?;
get authorCollaboratorAlias(): string;
set authorCollaboratorAlias(value: string);
resetAuthorCollaboratorAlias(): void;
get authorCollaboratorAliasInput(): string | undefined;
private _authorScope?;
get authorScope(): string;
set authorScope(value: string);
resetAuthorScope(): void;
get authorScopeInput(): string | undefined;
private _cleanRoomName?;
get cleanRoomName(): string;
set cleanRoomName(value: string);
resetCleanRoomName(): void;
get cleanRoomNameInput(): string | undefined;
get createdAt(): number;
get ruleId(): string;
get ruleOwnerCollaboratorAlias(): string;
private _runnerCollaboratorAlias?;
get runnerCollaboratorAlias(): string;
set runnerCollaboratorAlias(value: string);
resetRunnerCollaboratorAlias(): void;
get runnerCollaboratorAliasInput(): string | undefined;
}
export declare class DataDatabricksCleanRoomAutoApprovalRulesRulesList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: DataDatabricksCleanRoomAutoApprovalRulesRules[] | 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): DataDatabricksCleanRoomAutoApprovalRulesRulesOutputReference;
}
/**
* Represents a {@link https://registry.terraform.io/providers/databricks/databricks/1.86.0/docs/data-sources/clean_room_auto_approval_rules databricks_clean_room_auto_approval_rules}
*/
export declare class DataDatabricksCleanRoomAutoApprovalRules extends cdktf.TerraformDataSource {
static readonly tfResourceType = "databricks_clean_room_auto_approval_rules";
/**
* Generates CDKTF code for importing a DataDatabricksCleanRoomAutoApprovalRules 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 DataDatabricksCleanRoomAutoApprovalRules to import
* @param importFromId The id of the existing DataDatabricksCleanRoomAutoApprovalRules that should be imported. Refer to the {@link https://registry.terraform.io/providers/databricks/databricks/1.86.0/docs/data-sources/clean_room_auto_approval_rules#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataDatabricksCleanRoomAutoApprovalRules 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.86.0/docs/data-sources/clean_room_auto_approval_rules databricks_clean_room_auto_approval_rules} 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 DataDatabricksCleanRoomAutoApprovalRulesConfig = {}
*/
constructor(scope: Construct, id: string, config?: DataDatabricksCleanRoomAutoApprovalRulesConfig);
private _rules;
get rules(): DataDatabricksCleanRoomAutoApprovalRulesRulesList;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}