import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface NotificationConfig extends cdktf.TerraformMetaArguments { /** * The condition that triggers this notification * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/notification#condition Notification#condition} */ readonly condition: string; /** * Configuration specific to the notification condition * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/notification#conf Notification#conf} */ readonly conf?: NotificationConf; /** * Whether the notification is disabled. Default: false * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/notification#disabled Notification#disabled} */ readonly disabled?: boolean | cdktf.IResolvable; /** * Group identifier for the notification. Default: "default_search" * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/notification#group Notification#group} */ readonly group?: string; /** * Unique identifier for the notification * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/notification#id Notification#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; /** * Configuration for notification targets * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/notification#target_configs Notification#target_configs} */ readonly targetConfigs?: NotificationTargetConfigs[] | cdktf.IResolvable; /** * Targets to send any notifications to. Default: [] * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/notification#targets Notification#targets} */ readonly targets?: string[]; } export interface NotificationConf { /** * Message template for the notification. Not Null * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/notification#message Notification#message} */ readonly message?: string; /** * ID of the saved query this notification is associated with. Not Null * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/notification#saved_query_id Notification#saved_query_id} */ readonly savedQueryId?: string; /** * Comparison operator (e.g., >, <, =) * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/notification#trigger_comparator Notification#trigger_comparator} */ readonly triggerComparator?: string; /** * Threshold count for the trigger * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/notification#trigger_count Notification#trigger_count} */ readonly triggerCount?: number; /** * Type of trigger (e.g., resultsCount) * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/notification#trigger_type Notification#trigger_type} */ readonly triggerType?: string; } export declare function notificationConfToTerraform(struct?: NotificationConf | cdktf.IResolvable): any; export declare function notificationConfToHclTerraform(struct?: NotificationConf | cdktf.IResolvable): any; export declare class NotificationConfOutputReference 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(): NotificationConf | cdktf.IResolvable | undefined; set internalValue(value: NotificationConf | cdktf.IResolvable | undefined); private _message?; get message(): string; set message(value: string); resetMessage(): void; get messageInput(): string; private _savedQueryId?; get savedQueryId(): string; set savedQueryId(value: string); resetSavedQueryId(): void; get savedQueryIdInput(): string; private _triggerComparator?; get triggerComparator(): string; set triggerComparator(value: string); resetTriggerComparator(): void; get triggerComparatorInput(): string; private _triggerCount?; get triggerCount(): number; set triggerCount(value: number); resetTriggerCount(): void; get triggerCountInput(): number; private _triggerType?; get triggerType(): string; set triggerType(value: string); resetTriggerType(): void; get triggerTypeInput(): string; } export interface NotificationTargetConfigsConf { /** * Type of attachment for the notification. Default: "inline"; must be one of ["inline", "attachment"] * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/notification#attachment_type Notification#attachment_type} */ readonly attachmentType?: string; /** * Whether to include search results in the notification. Default: false * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/notification#include_results Notification#include_results} */ readonly includeResults?: boolean | cdktf.IResolvable; } export declare function notificationTargetConfigsConfToTerraform(struct?: NotificationTargetConfigsConf | cdktf.IResolvable): any; export declare function notificationTargetConfigsConfToHclTerraform(struct?: NotificationTargetConfigsConf | cdktf.IResolvable): any; export declare class NotificationTargetConfigsConfOutputReference 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(): NotificationTargetConfigsConf | cdktf.IResolvable | undefined; set internalValue(value: NotificationTargetConfigsConf | cdktf.IResolvable | undefined); private _attachmentType?; get attachmentType(): string; set attachmentType(value: string); resetAttachmentType(): void; get attachmentTypeInput(): string; private _includeResults?; get includeResults(): boolean | cdktf.IResolvable; set includeResults(value: boolean | cdktf.IResolvable); resetIncludeResults(): void; get includeResultsInput(): any; } export interface NotificationTargetConfigs { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/notification#conf Notification#conf} */ readonly conf?: NotificationTargetConfigsConf; /** * ID of the notification target. Not Null * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/notification#id Notification#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 notificationTargetConfigsToTerraform(struct?: NotificationTargetConfigs | cdktf.IResolvable): any; export declare function notificationTargetConfigsToHclTerraform(struct?: NotificationTargetConfigs | cdktf.IResolvable): any; export declare class NotificationTargetConfigsOutputReference 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(): NotificationTargetConfigs | cdktf.IResolvable | undefined; set internalValue(value: NotificationTargetConfigs | cdktf.IResolvable | undefined); private _conf; get conf(): NotificationTargetConfigsConfOutputReference; putConf(value: NotificationTargetConfigsConf): void; resetConf(): void; get confInput(): any; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; } export declare class NotificationTargetConfigsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: NotificationTargetConfigs[] | 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): NotificationTargetConfigsOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/notification criblio_notification} */ export declare class Notification extends cdktf.TerraformResource { static readonly tfResourceType = "criblio_notification"; /** * Generates CDKTF code for importing a Notification resource upon running "cdktf plan " * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the Notification to import * @param importFromId The id of the existing Notification that should be imported. Refer to the {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/notification#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the Notification to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any; /** * Create a new {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/notification criblio_notification} 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 NotificationConfig */ constructor(scope: Construct, id: string, config: NotificationConfig); private _condition?; get condition(): string; set condition(value: string); get conditionInput(): string; private _conf; get conf(): NotificationConfOutputReference; putConf(value: NotificationConf): void; resetConf(): void; get confInput(): any; private _disabled?; get disabled(): boolean | cdktf.IResolvable; set disabled(value: boolean | cdktf.IResolvable); resetDisabled(): void; get disabledInput(): any; private _group?; get group(): string; set group(value: string); resetGroup(): void; get groupInput(): string; private _id?; get id(): string; set id(value: string); get idInput(): string; private _targetConfigs; get targetConfigs(): NotificationTargetConfigsList; putTargetConfigs(value: NotificationTargetConfigs[] | cdktf.IResolvable): void; resetTargetConfigs(): void; get targetConfigsInput(): any; private _targets?; get targets(): string[]; set targets(value: string[]); resetTargets(): void; get targetsInput(): string[]; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }