@cdktf/provider-databricks
Version:
Prebuilt databricks Provider for Terraform CDK (cdktf)
120 lines (119 loc) • 7.36 kB
TypeScript
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import * as cdktf from 'cdktf';
import { JobWebhookNotificationsOnDurationWarningThresholdExceeded, JobWebhookNotificationsOnDurationWarningThresholdExceededList, JobWebhookNotificationsOnFailure, JobWebhookNotificationsOnFailureList, JobWebhookNotificationsOnStart, JobWebhookNotificationsOnStartList, JobWebhookNotificationsOnStreamingBacklogExceeded, JobWebhookNotificationsOnStreamingBacklogExceededList } from './structs400';
export interface JobWebhookNotificationsOnSuccess {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.99.0/docs/resources/job#id Job#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;
}
export declare function jobWebhookNotificationsOnSuccessToTerraform(struct?: JobWebhookNotificationsOnSuccess | cdktf.IResolvable): any;
export declare function jobWebhookNotificationsOnSuccessToHclTerraform(struct?: JobWebhookNotificationsOnSuccess | cdktf.IResolvable): any;
export declare class JobWebhookNotificationsOnSuccessOutputReference 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(): JobWebhookNotificationsOnSuccess | cdktf.IResolvable | undefined;
set internalValue(value: JobWebhookNotificationsOnSuccess | cdktf.IResolvable | undefined);
private _id?;
get id(): string;
set id(value: string);
get idInput(): string | undefined;
}
export declare class JobWebhookNotificationsOnSuccessList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: JobWebhookNotificationsOnSuccess[] | 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): JobWebhookNotificationsOnSuccessOutputReference;
}
export interface JobWebhookNotifications {
/**
* on_duration_warning_threshold_exceeded block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.99.0/docs/resources/job#on_duration_warning_threshold_exceeded Job#on_duration_warning_threshold_exceeded}
*/
readonly onDurationWarningThresholdExceeded?: JobWebhookNotificationsOnDurationWarningThresholdExceeded[] | cdktf.IResolvable;
/**
* on_failure block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.99.0/docs/resources/job#on_failure Job#on_failure}
*/
readonly onFailure?: JobWebhookNotificationsOnFailure[] | cdktf.IResolvable;
/**
* on_start block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.99.0/docs/resources/job#on_start Job#on_start}
*/
readonly onStart?: JobWebhookNotificationsOnStart[] | cdktf.IResolvable;
/**
* on_streaming_backlog_exceeded block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.99.0/docs/resources/job#on_streaming_backlog_exceeded Job#on_streaming_backlog_exceeded}
*/
readonly onStreamingBacklogExceeded?: JobWebhookNotificationsOnStreamingBacklogExceeded[] | cdktf.IResolvable;
/**
* on_success block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.99.0/docs/resources/job#on_success Job#on_success}
*/
readonly onSuccess?: JobWebhookNotificationsOnSuccess[] | cdktf.IResolvable;
}
export declare function jobWebhookNotificationsToTerraform(struct?: JobWebhookNotificationsOutputReference | JobWebhookNotifications): any;
export declare function jobWebhookNotificationsToHclTerraform(struct?: JobWebhookNotificationsOutputReference | JobWebhookNotifications): any;
export declare class JobWebhookNotificationsOutputReference 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(): JobWebhookNotifications | undefined;
set internalValue(value: JobWebhookNotifications | undefined);
private _onDurationWarningThresholdExceeded;
get onDurationWarningThresholdExceeded(): JobWebhookNotificationsOnDurationWarningThresholdExceededList;
putOnDurationWarningThresholdExceeded(value: JobWebhookNotificationsOnDurationWarningThresholdExceeded[] | cdktf.IResolvable): void;
resetOnDurationWarningThresholdExceeded(): void;
get onDurationWarningThresholdExceededInput(): cdktf.IResolvable | JobWebhookNotificationsOnDurationWarningThresholdExceeded[] | undefined;
private _onFailure;
get onFailure(): JobWebhookNotificationsOnFailureList;
putOnFailure(value: JobWebhookNotificationsOnFailure[] | cdktf.IResolvable): void;
resetOnFailure(): void;
get onFailureInput(): cdktf.IResolvable | JobWebhookNotificationsOnFailure[] | undefined;
private _onStart;
get onStart(): JobWebhookNotificationsOnStartList;
putOnStart(value: JobWebhookNotificationsOnStart[] | cdktf.IResolvable): void;
resetOnStart(): void;
get onStartInput(): cdktf.IResolvable | JobWebhookNotificationsOnStart[] | undefined;
private _onStreamingBacklogExceeded;
get onStreamingBacklogExceeded(): JobWebhookNotificationsOnStreamingBacklogExceededList;
putOnStreamingBacklogExceeded(value: JobWebhookNotificationsOnStreamingBacklogExceeded[] | cdktf.IResolvable): void;
resetOnStreamingBacklogExceeded(): void;
get onStreamingBacklogExceededInput(): cdktf.IResolvable | JobWebhookNotificationsOnStreamingBacklogExceeded[] | undefined;
private _onSuccess;
get onSuccess(): JobWebhookNotificationsOnSuccessList;
putOnSuccess(value: JobWebhookNotificationsOnSuccess[] | cdktf.IResolvable): void;
resetOnSuccess(): void;
get onSuccessInput(): cdktf.IResolvable | JobWebhookNotificationsOnSuccess[] | undefined;
}