UNPKG

@cdktf/provider-databricks

Version:

Prebuilt databricks Provider for Terraform CDK (cdktf)

381 lines (380 loc) 19.2 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface PolicyInfoConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/resources/policy_info#column_mask PolicyInfo#column_mask} */ readonly columnMask?: PolicyInfoColumnMask; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/resources/policy_info#comment PolicyInfo#comment} */ readonly comment?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/resources/policy_info#except_principals PolicyInfo#except_principals} */ readonly exceptPrincipals?: string[]; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/resources/policy_info#for_securable_type PolicyInfo#for_securable_type} */ readonly forSecurableType: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/resources/policy_info#match_columns PolicyInfo#match_columns} */ readonly matchColumns?: PolicyInfoMatchColumns[] | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/resources/policy_info#name PolicyInfo#name} */ readonly name?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/resources/policy_info#on_securable_fullname PolicyInfo#on_securable_fullname} */ readonly onSecurableFullname?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/resources/policy_info#on_securable_type PolicyInfo#on_securable_type} */ readonly onSecurableType?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/resources/policy_info#policy_type PolicyInfo#policy_type} */ readonly policyType: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/resources/policy_info#row_filter PolicyInfo#row_filter} */ readonly rowFilter?: PolicyInfoRowFilter; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/resources/policy_info#to_principals PolicyInfo#to_principals} */ readonly toPrincipals: string[]; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/resources/policy_info#when_condition PolicyInfo#when_condition} */ readonly whenCondition?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/resources/policy_info#workspace_id PolicyInfo#workspace_id} */ readonly workspaceId?: string; } export interface PolicyInfoColumnMaskUsing { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/resources/policy_info#alias PolicyInfo#alias} */ readonly alias?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/resources/policy_info#constant PolicyInfo#constant} */ readonly constant?: string; } export declare function policyInfoColumnMaskUsingToTerraform(struct?: PolicyInfoColumnMaskUsing | cdktf.IResolvable): any; export declare function policyInfoColumnMaskUsingToHclTerraform(struct?: PolicyInfoColumnMaskUsing | cdktf.IResolvable): any; export declare class PolicyInfoColumnMaskUsingOutputReference 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(): PolicyInfoColumnMaskUsing | cdktf.IResolvable | undefined; set internalValue(value: PolicyInfoColumnMaskUsing | cdktf.IResolvable | undefined); private _alias?; get alias(): string; set alias(value: string); resetAlias(): void; get aliasInput(): string | undefined; private _constant?; get constant(): string; set constant(value: string); resetConstant(): void; get constantInput(): string | undefined; } export declare class PolicyInfoColumnMaskUsingList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: PolicyInfoColumnMaskUsing[] | 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): PolicyInfoColumnMaskUsingOutputReference; } export interface PolicyInfoColumnMask { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/resources/policy_info#function_name PolicyInfo#function_name} */ readonly functionName: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/resources/policy_info#on_column PolicyInfo#on_column} */ readonly onColumn: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/resources/policy_info#using PolicyInfo#using} */ readonly using?: PolicyInfoColumnMaskUsing[] | cdktf.IResolvable; } export declare function policyInfoColumnMaskToTerraform(struct?: PolicyInfoColumnMask | cdktf.IResolvable): any; export declare function policyInfoColumnMaskToHclTerraform(struct?: PolicyInfoColumnMask | cdktf.IResolvable): any; export declare class PolicyInfoColumnMaskOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): PolicyInfoColumnMask | cdktf.IResolvable | undefined; set internalValue(value: PolicyInfoColumnMask | cdktf.IResolvable | undefined); private _functionName?; get functionName(): string; set functionName(value: string); get functionNameInput(): string | undefined; private _onColumn?; get onColumn(): string; set onColumn(value: string); get onColumnInput(): string | undefined; private _using; get using(): PolicyInfoColumnMaskUsingList; putUsing(value: PolicyInfoColumnMaskUsing[] | cdktf.IResolvable): void; resetUsing(): void; get usingInput(): cdktf.IResolvable | PolicyInfoColumnMaskUsing[] | undefined; } export interface PolicyInfoMatchColumns { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/resources/policy_info#alias PolicyInfo#alias} */ readonly alias?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/resources/policy_info#condition PolicyInfo#condition} */ readonly condition?: string; } export declare function policyInfoMatchColumnsToTerraform(struct?: PolicyInfoMatchColumns | cdktf.IResolvable): any; export declare function policyInfoMatchColumnsToHclTerraform(struct?: PolicyInfoMatchColumns | cdktf.IResolvable): any; export declare class PolicyInfoMatchColumnsOutputReference 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(): PolicyInfoMatchColumns | cdktf.IResolvable | undefined; set internalValue(value: PolicyInfoMatchColumns | cdktf.IResolvable | undefined); private _alias?; get alias(): string; set alias(value: string); resetAlias(): void; get aliasInput(): string | undefined; private _condition?; get condition(): string; set condition(value: string); resetCondition(): void; get conditionInput(): string | undefined; } export declare class PolicyInfoMatchColumnsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: PolicyInfoMatchColumns[] | 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): PolicyInfoMatchColumnsOutputReference; } export interface PolicyInfoRowFilterUsing { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/resources/policy_info#alias PolicyInfo#alias} */ readonly alias?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/resources/policy_info#constant PolicyInfo#constant} */ readonly constant?: string; } export declare function policyInfoRowFilterUsingToTerraform(struct?: PolicyInfoRowFilterUsing | cdktf.IResolvable): any; export declare function policyInfoRowFilterUsingToHclTerraform(struct?: PolicyInfoRowFilterUsing | cdktf.IResolvable): any; export declare class PolicyInfoRowFilterUsingOutputReference 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(): PolicyInfoRowFilterUsing | cdktf.IResolvable | undefined; set internalValue(value: PolicyInfoRowFilterUsing | cdktf.IResolvable | undefined); private _alias?; get alias(): string; set alias(value: string); resetAlias(): void; get aliasInput(): string | undefined; private _constant?; get constant(): string; set constant(value: string); resetConstant(): void; get constantInput(): string | undefined; } export declare class PolicyInfoRowFilterUsingList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: PolicyInfoRowFilterUsing[] | 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): PolicyInfoRowFilterUsingOutputReference; } export interface PolicyInfoRowFilter { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/resources/policy_info#function_name PolicyInfo#function_name} */ readonly functionName: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/resources/policy_info#using PolicyInfo#using} */ readonly using?: PolicyInfoRowFilterUsing[] | cdktf.IResolvable; } export declare function policyInfoRowFilterToTerraform(struct?: PolicyInfoRowFilter | cdktf.IResolvable): any; export declare function policyInfoRowFilterToHclTerraform(struct?: PolicyInfoRowFilter | cdktf.IResolvable): any; export declare class PolicyInfoRowFilterOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): PolicyInfoRowFilter | cdktf.IResolvable | undefined; set internalValue(value: PolicyInfoRowFilter | cdktf.IResolvable | undefined); private _functionName?; get functionName(): string; set functionName(value: string); get functionNameInput(): string | undefined; private _using; get using(): PolicyInfoRowFilterUsingList; putUsing(value: PolicyInfoRowFilterUsing[] | cdktf.IResolvable): void; resetUsing(): void; get usingInput(): cdktf.IResolvable | PolicyInfoRowFilterUsing[] | undefined; } /** * Represents a {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/resources/policy_info databricks_policy_info} */ export declare class PolicyInfo extends cdktf.TerraformResource { static readonly tfResourceType = "databricks_policy_info"; /** * Generates CDKTF code for importing a PolicyInfo 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 PolicyInfo to import * @param importFromId The id of the existing PolicyInfo that should be imported. Refer to the {@link https://registry.terraform.io/providers/databricks/databricks/1.90.0/docs/resources/policy_info#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the PolicyInfo 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/resources/policy_info databricks_policy_info} 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 PolicyInfoConfig */ constructor(scope: Construct, id: string, config: PolicyInfoConfig); private _columnMask; get columnMask(): PolicyInfoColumnMaskOutputReference; putColumnMask(value: PolicyInfoColumnMask): void; resetColumnMask(): void; get columnMaskInput(): cdktf.IResolvable | PolicyInfoColumnMask | undefined; private _comment?; get comment(): string; set comment(value: string); resetComment(): void; get commentInput(): string | undefined; get createdAt(): number; get createdBy(): string; private _exceptPrincipals?; get exceptPrincipals(): string[]; set exceptPrincipals(value: string[]); resetExceptPrincipals(): void; get exceptPrincipalsInput(): string[] | undefined; private _forSecurableType?; get forSecurableType(): string; set forSecurableType(value: string); get forSecurableTypeInput(): string | undefined; get id(): string; private _matchColumns; get matchColumns(): PolicyInfoMatchColumnsList; putMatchColumns(value: PolicyInfoMatchColumns[] | cdktf.IResolvable): void; resetMatchColumns(): void; get matchColumnsInput(): cdktf.IResolvable | PolicyInfoMatchColumns[] | undefined; private _name?; get name(): string; set name(value: string); resetName(): void; get nameInput(): string | undefined; private _onSecurableFullname?; get onSecurableFullname(): string; set onSecurableFullname(value: string); resetOnSecurableFullname(): void; get onSecurableFullnameInput(): string | undefined; private _onSecurableType?; get onSecurableType(): string; set onSecurableType(value: string); resetOnSecurableType(): void; get onSecurableTypeInput(): string | undefined; private _policyType?; get policyType(): string; set policyType(value: string); get policyTypeInput(): string | undefined; private _rowFilter; get rowFilter(): PolicyInfoRowFilterOutputReference; putRowFilter(value: PolicyInfoRowFilter): void; resetRowFilter(): void; get rowFilterInput(): cdktf.IResolvable | PolicyInfoRowFilter | undefined; private _toPrincipals?; get toPrincipals(): string[]; set toPrincipals(value: string[]); get toPrincipalsInput(): string[] | undefined; get updatedAt(): number; get updatedBy(): string; private _whenCondition?; get whenCondition(): string; set whenCondition(value: string); resetWhenCondition(): void; get whenConditionInput(): string | undefined; private _workspaceId?; get workspaceId(): string; set workspaceId(value: string); resetWorkspaceId(): void; get workspaceIdInput(): string | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }