import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface SearchSavedQueryConfig extends cdktf.TerraformMetaArguments { /** * Description of the saved query * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/search_saved_query#description SearchSavedQuery#description} */ readonly description?: string; /** * Earliest time for the search range * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/search_saved_query#earliest SearchSavedQuery#earliest} */ readonly earliest?: string; /** * Unique identifier for the saved query * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/search_saved_query#id SearchSavedQuery#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; /** * Whether the saved query is private * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/search_saved_query#is_private SearchSavedQuery#is_private} */ readonly isPrivate?: boolean | cdktf.IResolvable; /** * Latest time for the search range * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/search_saved_query#latest SearchSavedQuery#latest} */ readonly latest?: string; /** * Name of the saved query * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/search_saved_query#name SearchSavedQuery#name} */ readonly name: string; /** * The search query string * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/search_saved_query#query SearchSavedQuery#query} */ readonly query: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/search_saved_query#schedule SearchSavedQuery#schedule} */ readonly schedule?: SearchSavedQuerySchedule; } export interface SearchSavedQueryScheduleNotifications { /** * Not Null * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/search_saved_query#disabled SearchSavedQuery#disabled} */ readonly disabled?: boolean | cdktf.IResolvable; } export declare function searchSavedQueryScheduleNotificationsToTerraform(struct?: SearchSavedQueryScheduleNotifications | cdktf.IResolvable): any; export declare function searchSavedQueryScheduleNotificationsToHclTerraform(struct?: SearchSavedQueryScheduleNotifications | cdktf.IResolvable): any; export declare class SearchSavedQueryScheduleNotificationsOutputReference 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(): SearchSavedQueryScheduleNotifications | cdktf.IResolvable | undefined; set internalValue(value: SearchSavedQueryScheduleNotifications | cdktf.IResolvable | undefined); private _disabled?; get disabled(): boolean | cdktf.IResolvable; set disabled(value: boolean | cdktf.IResolvable); resetDisabled(): void; get disabledInput(): any; } export interface SearchSavedQuerySchedule { /** * Not Null * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/search_saved_query#cron_schedule SearchSavedQuery#cron_schedule} */ readonly cronSchedule?: string; /** * Not Null * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/search_saved_query#enabled SearchSavedQuery#enabled} */ readonly enabled?: boolean | cdktf.IResolvable; /** * Not Null * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/search_saved_query#keep_last_n SearchSavedQuery#keep_last_n} */ readonly keepLastN?: number; /** * Not Null * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/search_saved_query#notifications SearchSavedQuery#notifications} */ readonly notifications?: SearchSavedQueryScheduleNotifications; /** * Not Null * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/search_saved_query#tz SearchSavedQuery#tz} */ readonly tz?: string; } export declare function searchSavedQueryScheduleToTerraform(struct?: SearchSavedQuerySchedule | cdktf.IResolvable): any; export declare function searchSavedQueryScheduleToHclTerraform(struct?: SearchSavedQuerySchedule | cdktf.IResolvable): any; export declare class SearchSavedQueryScheduleOutputReference 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(): SearchSavedQuerySchedule | cdktf.IResolvable | undefined; set internalValue(value: SearchSavedQuerySchedule | cdktf.IResolvable | undefined); private _cronSchedule?; get cronSchedule(): string; set cronSchedule(value: string); resetCronSchedule(): void; get cronScheduleInput(): string; private _enabled?; get enabled(): boolean | cdktf.IResolvable; set enabled(value: boolean | cdktf.IResolvable); resetEnabled(): void; get enabledInput(): any; private _keepLastN?; get keepLastN(): number; set keepLastN(value: number); resetKeepLastN(): void; get keepLastNInput(): number; private _notifications; get notifications(): SearchSavedQueryScheduleNotificationsOutputReference; putNotifications(value: SearchSavedQueryScheduleNotifications): void; resetNotifications(): void; get notificationsInput(): any; private _tz?; get tz(): string; set tz(value: string); resetTz(): void; get tzInput(): string; } /** * Represents a {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/search_saved_query criblio_search_saved_query} */ export declare class SearchSavedQuery extends cdktf.TerraformResource { static readonly tfResourceType = "criblio_search_saved_query"; /** * Generates CDKTF code for importing a SearchSavedQuery 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 SearchSavedQuery to import * @param importFromId The id of the existing SearchSavedQuery that should be imported. Refer to the {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/search_saved_query#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the SearchSavedQuery 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/search_saved_query criblio_search_saved_query} 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 SearchSavedQueryConfig */ constructor(scope: Construct, id: string, config: SearchSavedQueryConfig); private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; private _earliest?; get earliest(): string; set earliest(value: string); resetEarliest(): void; get earliestInput(): string; private _id?; get id(): string; set id(value: string); get idInput(): string; private _isPrivate?; get isPrivate(): boolean | cdktf.IResolvable; set isPrivate(value: boolean | cdktf.IResolvable); resetIsPrivate(): void; get isPrivateInput(): any; private _latest?; get latest(): string; set latest(value: string); resetLatest(): void; get latestInput(): string; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _query?; get query(): string; set query(value: string); get queryInput(): string; private _schedule; get schedule(): SearchSavedQueryScheduleOutputReference; putSchedule(value: SearchSavedQuerySchedule): void; resetSchedule(): void; get scheduleInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }