@cdktf/provider-databricks
Version:
Prebuilt databricks Provider for Terraform CDK (cdktf)
157 lines (156 loc) • 9.16 kB
TypeScript
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface RfaAccessRequestDestinationsConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.99.0/docs/resources/rfa_access_request_destinations#destinations RfaAccessRequestDestinations#destinations}
*/
readonly destinations?: RfaAccessRequestDestinationsDestinations[] | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.99.0/docs/resources/rfa_access_request_destinations#securable RfaAccessRequestDestinations#securable}
*/
readonly securable: RfaAccessRequestDestinationsSecurable;
}
export interface RfaAccessRequestDestinationsDestinations {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.99.0/docs/resources/rfa_access_request_destinations#destination_id RfaAccessRequestDestinations#destination_id}
*/
readonly destinationId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.99.0/docs/resources/rfa_access_request_destinations#destination_type RfaAccessRequestDestinations#destination_type}
*/
readonly destinationType?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.99.0/docs/resources/rfa_access_request_destinations#special_destination RfaAccessRequestDestinations#special_destination}
*/
readonly specialDestination?: string;
}
export declare function rfaAccessRequestDestinationsDestinationsToTerraform(struct?: RfaAccessRequestDestinationsDestinations | cdktf.IResolvable): any;
export declare function rfaAccessRequestDestinationsDestinationsToHclTerraform(struct?: RfaAccessRequestDestinationsDestinations | cdktf.IResolvable): any;
export declare class RfaAccessRequestDestinationsDestinationsOutputReference 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(): RfaAccessRequestDestinationsDestinations | cdktf.IResolvable | undefined;
set internalValue(value: RfaAccessRequestDestinationsDestinations | cdktf.IResolvable | undefined);
private _destinationId?;
get destinationId(): string;
set destinationId(value: string);
resetDestinationId(): void;
get destinationIdInput(): string | undefined;
private _destinationType?;
get destinationType(): string;
set destinationType(value: string);
resetDestinationType(): void;
get destinationTypeInput(): string | undefined;
private _specialDestination?;
get specialDestination(): string;
set specialDestination(value: string);
resetSpecialDestination(): void;
get specialDestinationInput(): string | undefined;
}
export declare class RfaAccessRequestDestinationsDestinationsList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: RfaAccessRequestDestinationsDestinations[] | 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): RfaAccessRequestDestinationsDestinationsOutputReference;
}
export interface RfaAccessRequestDestinationsSecurable {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.99.0/docs/resources/rfa_access_request_destinations#full_name RfaAccessRequestDestinations#full_name}
*/
readonly fullName?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.99.0/docs/resources/rfa_access_request_destinations#provider_share RfaAccessRequestDestinations#provider_share}
*/
readonly providerShare?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.99.0/docs/resources/rfa_access_request_destinations#type RfaAccessRequestDestinations#type}
*/
readonly type?: string;
}
export declare function rfaAccessRequestDestinationsSecurableToTerraform(struct?: RfaAccessRequestDestinationsSecurable | cdktf.IResolvable): any;
export declare function rfaAccessRequestDestinationsSecurableToHclTerraform(struct?: RfaAccessRequestDestinationsSecurable | cdktf.IResolvable): any;
export declare class RfaAccessRequestDestinationsSecurableOutputReference 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(): RfaAccessRequestDestinationsSecurable | cdktf.IResolvable | undefined;
set internalValue(value: RfaAccessRequestDestinationsSecurable | cdktf.IResolvable | undefined);
private _fullName?;
get fullName(): string;
set fullName(value: string);
resetFullName(): void;
get fullNameInput(): string | undefined;
private _providerShare?;
get providerShare(): string;
set providerShare(value: string);
resetProviderShare(): void;
get providerShareInput(): string | undefined;
private _type?;
get type(): string;
set type(value: string);
resetType(): void;
get typeInput(): string | undefined;
}
/**
* Represents a {@link https://registry.terraform.io/providers/databricks/databricks/1.99.0/docs/resources/rfa_access_request_destinations databricks_rfa_access_request_destinations}
*/
export declare class RfaAccessRequestDestinations extends cdktf.TerraformResource {
static readonly tfResourceType = "databricks_rfa_access_request_destinations";
/**
* Generates CDKTF code for importing a RfaAccessRequestDestinations 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 RfaAccessRequestDestinations to import
* @param importFromId The id of the existing RfaAccessRequestDestinations that should be imported. Refer to the {@link https://registry.terraform.io/providers/databricks/databricks/1.99.0/docs/resources/rfa_access_request_destinations#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the RfaAccessRequestDestinations 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/rfa_access_request_destinations databricks_rfa_access_request_destinations} 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 RfaAccessRequestDestinationsConfig
*/
constructor(scope: Construct, id: string, config: RfaAccessRequestDestinationsConfig);
get areAnyDestinationsHidden(): cdktf.IResolvable;
private _destinations;
get destinations(): RfaAccessRequestDestinationsDestinationsList;
putDestinations(value: RfaAccessRequestDestinationsDestinations[] | cdktf.IResolvable): void;
resetDestinations(): void;
get destinationsInput(): cdktf.IResolvable | RfaAccessRequestDestinationsDestinations[] | undefined;
private _securable;
get securable(): RfaAccessRequestDestinationsSecurableOutputReference;
putSecurable(value: RfaAccessRequestDestinationsSecurable): void;
get securableInput(): cdktf.IResolvable | RfaAccessRequestDestinationsSecurable | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}