@cdktf/provider-databricks
Version:
Prebuilt databricks Provider for Terraform CDK (cdktf)
237 lines (236 loc) • 12.5 kB
TypeScript
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface ExternalLocationConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/resources/external_location#access_point ExternalLocation#access_point}
*/
readonly accessPoint?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/resources/external_location#comment ExternalLocation#comment}
*/
readonly comment?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/resources/external_location#credential_name ExternalLocation#credential_name}
*/
readonly credentialName: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/resources/external_location#fallback ExternalLocation#fallback}
*/
readonly fallback?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/resources/external_location#force_destroy ExternalLocation#force_destroy}
*/
readonly forceDestroy?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/resources/external_location#force_update ExternalLocation#force_update}
*/
readonly forceUpdate?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/resources/external_location#id ExternalLocation#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.71.0/docs/resources/external_location#isolation_mode ExternalLocation#isolation_mode}
*/
readonly isolationMode?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/resources/external_location#metastore_id ExternalLocation#metastore_id}
*/
readonly metastoreId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/resources/external_location#name ExternalLocation#name}
*/
readonly name: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/resources/external_location#owner ExternalLocation#owner}
*/
readonly owner?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/resources/external_location#read_only ExternalLocation#read_only}
*/
readonly readOnly?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/resources/external_location#skip_validation ExternalLocation#skip_validation}
*/
readonly skipValidation?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/resources/external_location#url ExternalLocation#url}
*/
readonly url: string;
/**
* encryption_details block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/resources/external_location#encryption_details ExternalLocation#encryption_details}
*/
readonly encryptionDetails?: ExternalLocationEncryptionDetails;
}
export interface ExternalLocationEncryptionDetailsSseEncryptionDetails {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/resources/external_location#algorithm ExternalLocation#algorithm}
*/
readonly algorithm?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/resources/external_location#aws_kms_key_arn ExternalLocation#aws_kms_key_arn}
*/
readonly awsKmsKeyArn?: string;
}
export declare function externalLocationEncryptionDetailsSseEncryptionDetailsToTerraform(struct?: ExternalLocationEncryptionDetailsSseEncryptionDetailsOutputReference | ExternalLocationEncryptionDetailsSseEncryptionDetails): any;
export declare function externalLocationEncryptionDetailsSseEncryptionDetailsToHclTerraform(struct?: ExternalLocationEncryptionDetailsSseEncryptionDetailsOutputReference | ExternalLocationEncryptionDetailsSseEncryptionDetails): any;
export declare class ExternalLocationEncryptionDetailsSseEncryptionDetailsOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @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(): ExternalLocationEncryptionDetailsSseEncryptionDetails | undefined;
set internalValue(value: ExternalLocationEncryptionDetailsSseEncryptionDetails | undefined);
private _algorithm?;
get algorithm(): string;
set algorithm(value: string);
resetAlgorithm(): void;
get algorithmInput(): string | undefined;
private _awsKmsKeyArn?;
get awsKmsKeyArn(): string;
set awsKmsKeyArn(value: string);
resetAwsKmsKeyArn(): void;
get awsKmsKeyArnInput(): string | undefined;
}
export interface ExternalLocationEncryptionDetails {
/**
* sse_encryption_details block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/resources/external_location#sse_encryption_details ExternalLocation#sse_encryption_details}
*/
readonly sseEncryptionDetails?: ExternalLocationEncryptionDetailsSseEncryptionDetails;
}
export declare function externalLocationEncryptionDetailsToTerraform(struct?: ExternalLocationEncryptionDetailsOutputReference | ExternalLocationEncryptionDetails): any;
export declare function externalLocationEncryptionDetailsToHclTerraform(struct?: ExternalLocationEncryptionDetailsOutputReference | ExternalLocationEncryptionDetails): any;
export declare class ExternalLocationEncryptionDetailsOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @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(): ExternalLocationEncryptionDetails | undefined;
set internalValue(value: ExternalLocationEncryptionDetails | undefined);
private _sseEncryptionDetails;
get sseEncryptionDetails(): ExternalLocationEncryptionDetailsSseEncryptionDetailsOutputReference;
putSseEncryptionDetails(value: ExternalLocationEncryptionDetailsSseEncryptionDetails): void;
resetSseEncryptionDetails(): void;
get sseEncryptionDetailsInput(): ExternalLocationEncryptionDetailsSseEncryptionDetails | undefined;
}
/**
* Represents a {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/resources/external_location databricks_external_location}
*/
export declare class ExternalLocation extends cdktf.TerraformResource {
static readonly tfResourceType = "databricks_external_location";
/**
* Generates CDKTF code for importing a ExternalLocation 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 ExternalLocation to import
* @param importFromId The id of the existing ExternalLocation that should be imported. Refer to the {@link https://registry.terraform.io/providers/databricks/databricks/1.71.0/docs/resources/external_location#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the ExternalLocation 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.71.0/docs/resources/external_location databricks_external_location} 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 ExternalLocationConfig
*/
constructor(scope: Construct, id: string, config: ExternalLocationConfig);
private _accessPoint?;
get accessPoint(): string;
set accessPoint(value: string);
resetAccessPoint(): void;
get accessPointInput(): string | undefined;
get browseOnly(): cdktf.IResolvable;
private _comment?;
get comment(): string;
set comment(value: string);
resetComment(): void;
get commentInput(): string | undefined;
get createdAt(): number;
get createdBy(): string;
get credentialId(): string;
private _credentialName?;
get credentialName(): string;
set credentialName(value: string);
get credentialNameInput(): string | undefined;
private _fallback?;
get fallback(): boolean | cdktf.IResolvable;
set fallback(value: boolean | cdktf.IResolvable);
resetFallback(): void;
get fallbackInput(): boolean | cdktf.IResolvable | undefined;
private _forceDestroy?;
get forceDestroy(): boolean | cdktf.IResolvable;
set forceDestroy(value: boolean | cdktf.IResolvable);
resetForceDestroy(): void;
get forceDestroyInput(): boolean | cdktf.IResolvable | undefined;
private _forceUpdate?;
get forceUpdate(): boolean | cdktf.IResolvable;
set forceUpdate(value: boolean | cdktf.IResolvable);
resetForceUpdate(): void;
get forceUpdateInput(): boolean | cdktf.IResolvable | undefined;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _isolationMode?;
get isolationMode(): string;
set isolationMode(value: string);
resetIsolationMode(): void;
get isolationModeInput(): string | undefined;
private _metastoreId?;
get metastoreId(): string;
set metastoreId(value: string);
resetMetastoreId(): void;
get metastoreIdInput(): string | undefined;
private _name?;
get name(): string;
set name(value: string);
get nameInput(): string | undefined;
private _owner?;
get owner(): string;
set owner(value: string);
resetOwner(): void;
get ownerInput(): string | undefined;
private _readOnly?;
get readOnly(): boolean | cdktf.IResolvable;
set readOnly(value: boolean | cdktf.IResolvable);
resetReadOnly(): void;
get readOnlyInput(): boolean | cdktf.IResolvable | undefined;
private _skipValidation?;
get skipValidation(): boolean | cdktf.IResolvable;
set skipValidation(value: boolean | cdktf.IResolvable);
resetSkipValidation(): void;
get skipValidationInput(): boolean | cdktf.IResolvable | undefined;
get updatedAt(): number;
get updatedBy(): string;
private _url?;
get url(): string;
set url(value: string);
get urlInput(): string | undefined;
private _encryptionDetails;
get encryptionDetails(): ExternalLocationEncryptionDetailsOutputReference;
putEncryptionDetails(value: ExternalLocationEncryptionDetails): void;
resetEncryptionDetails(): void;
get encryptionDetailsInput(): ExternalLocationEncryptionDetails | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}