import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface PackBreakersConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/pack_breakers#description PackBreakers#description} */ readonly description?: string; /** * group ID to GET * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/pack_breakers#group_id PackBreakers#group_id} */ readonly groupId: string; /** * Unique ID to PATCH for pack * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/pack_breakers#id PackBreakers#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; /** * Default: "custom"; must be one of ["custom", "cribl-custom"] * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/pack_breakers#lib PackBreakers#lib} */ readonly lib?: string; /** * The minimum number of characters in _raw to determine which rule to use. Default: 256 * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/pack_breakers#min_raw_length PackBreakers#min_raw_length} */ readonly minRawLength?: number; /** * pack ID to POST * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/pack_breakers#pack PackBreakers#pack} */ readonly pack: string; /** * A list of rules that will be applied, in order, to the input data stream * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/pack_breakers#rules PackBreakers#rules} */ readonly rules?: PackBreakersRules[] | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/pack_breakers#tags PackBreakers#tags} */ readonly tags?: string; } export interface PackBreakersItemsComments { } export declare function packBreakersItemsCommentsToTerraform(struct?: PackBreakersItemsComments): any; export declare function packBreakersItemsCommentsToHclTerraform(struct?: PackBreakersItemsComments): any; export declare class PackBreakersItemsCommentsOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @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(): PackBreakersItemsComments | undefined; set internalValue(value: PackBreakersItemsComments | undefined); get additionalProperties(): any; get comment(): any; } export declare class PackBreakersItemsCommentsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; /** * @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): PackBreakersItemsCommentsOutputReference; } export interface PackBreakersItemsGroups { } export declare function packBreakersItemsGroupsToTerraform(struct?: PackBreakersItemsGroups): any; export declare function packBreakersItemsGroupsToHclTerraform(struct?: PackBreakersItemsGroups): any; export declare class PackBreakersItemsGroupsOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectKey the key of this item in the map */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectKey: string); get internalValue(): PackBreakersItemsGroups | undefined; set internalValue(value: PackBreakersItemsGroups | undefined); get description(): any; get disabled(): any; get name(): any; } export declare class PackBreakersItemsGroupsMap extends cdktf.ComplexMap { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); /** * @param key the key of the item to return */ get(key: string): PackBreakersItemsGroupsOutputReference; } export interface PackBreakersItemsRoutes { } export declare function packBreakersItemsRoutesToTerraform(struct?: PackBreakersItemsRoutes): any; export declare function packBreakersItemsRoutesToHclTerraform(struct?: PackBreakersItemsRoutes): any; export declare class PackBreakersItemsRoutesOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @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(): PackBreakersItemsRoutes | undefined; set internalValue(value: PackBreakersItemsRoutes | undefined); get additionalProperties(): any; get description(): any; get disabled(): any; get enableOutputExpression(): any; get filter(): any; get final(): any; get id(): any; get name(): any; get output(): any; get outputExpression(): any; get pipeline(): any; } export declare class PackBreakersItemsRoutesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; /** * @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): PackBreakersItemsRoutesOutputReference; } export interface PackBreakersItems { } export declare function packBreakersItemsToTerraform(struct?: PackBreakersItems): any; export declare function packBreakersItemsToHclTerraform(struct?: PackBreakersItems): any; export declare class PackBreakersItemsOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @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(): PackBreakersItems | undefined; set internalValue(value: PackBreakersItems | undefined); private _comments; get comments(): PackBreakersItemsCommentsList; private _groups; get groups(): PackBreakersItemsGroupsMap; get id(): any; private _routes; get routes(): PackBreakersItemsRoutesList; } export declare class PackBreakersItemsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; /** * @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): PackBreakersItemsOutputReference; } export interface PackBreakersRulesFields { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/pack_breakers#name PackBreakers#name} */ readonly name?: string; /** * The JavaScript expression used to compute the field's value (can be constant) * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/pack_breakers#value PackBreakers#value} */ readonly value: string; } export declare function packBreakersRulesFieldsToTerraform(struct?: PackBreakersRulesFields | cdktf.IResolvable): any; export declare function packBreakersRulesFieldsToHclTerraform(struct?: PackBreakersRulesFields | cdktf.IResolvable): any; export declare class PackBreakersRulesFieldsOutputReference 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(): PackBreakersRulesFields | cdktf.IResolvable | undefined; set internalValue(value: PackBreakersRulesFields | cdktf.IResolvable | undefined); private _name?; get name(): string; set name(value: string); resetName(): void; get nameInput(): string; private _value?; get value(): string; set value(value: string); get valueInput(): string; } export declare class PackBreakersRulesFieldsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: PackBreakersRulesFields[] | 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): PackBreakersRulesFieldsOutputReference; } export interface PackBreakersRulesTimestamp { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/pack_breakers#format PackBreakers#format} */ readonly format?: string; /** * Default: 150 * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/pack_breakers#length PackBreakers#length} */ readonly length?: number; /** * Default: "auto"; must be one of ["auto", "format", "current"] * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/pack_breakers#type PackBreakers#type} */ readonly type?: string; } export declare function packBreakersRulesTimestampToTerraform(struct?: PackBreakersRulesTimestamp | cdktf.IResolvable): any; export declare function packBreakersRulesTimestampToHclTerraform(struct?: PackBreakersRulesTimestamp | cdktf.IResolvable): any; export declare class PackBreakersRulesTimestampOutputReference 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(): PackBreakersRulesTimestamp | cdktf.IResolvable | undefined; set internalValue(value: PackBreakersRulesTimestamp | cdktf.IResolvable | undefined); private _format?; get format(): string; set format(value: string); resetFormat(): void; get formatInput(): string; private _length?; get length(): number; set length(value: number); resetLength(): void; get lengthInput(): number; private _type?; get type(): string; set type(value: string); resetType(): void; get typeInput(): string; } export interface PackBreakersRules { /** * JavaScript expression applied to the beginning of a file or object, to determine whether the rule applies to all contained events. Default: "true" * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/pack_breakers#condition PackBreakers#condition} */ readonly condition?: string; /** * Disable this breaker rule (enabled by default). Default: false * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/pack_breakers#disabled PackBreakers#disabled} */ readonly disabled?: boolean | cdktf.IResolvable; /** * The regex to match before attempting event breaker extraction. Use $ (end-of-string anchor) to prevent extraction. Default: "/[\\\\n\\\\r]+(?!\\\\s)/" * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/pack_breakers#event_breaker_regex PackBreakers#event_breaker_regex} */ readonly eventBreakerRegex?: string; /** * Key-value pairs to be added to each event * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/pack_breakers#fields PackBreakers#fields} */ readonly fields?: PackBreakersRulesFields[] | cdktf.IResolvable; /** * The maximum number of bytes in an event before it is flushed to the pipelines. Default: 51200 * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/pack_breakers#max_event_bytes PackBreakers#max_event_bytes} */ readonly maxEventBytes?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/pack_breakers#name PackBreakers#name} */ readonly name: string; /** * Default: false * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/pack_breakers#parser_enabled PackBreakers#parser_enabled} */ readonly parserEnabled?: boolean | cdktf.IResolvable; /** * Enable to set an internal field on events indicating that the field in the data called _raw should be used. This can be useful for post processors that want to use that field for event._raw, instead of replacing it with the actual raw event. Default: false * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/pack_breakers#should_use_data_raw PackBreakers#should_use_data_raw} */ readonly shouldUseDataRaw?: boolean | cdktf.IResolvable; /** * Auto, manual format (strptime), or current time * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/pack_breakers#timestamp PackBreakers#timestamp} */ readonly timestamp: PackBreakersRulesTimestamp; /** * The regex to match before attempting timestamp extraction. Use $ (end-of-string anchor) to prevent extraction. Default: "/^/" * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/pack_breakers#timestamp_anchor_regex PackBreakers#timestamp_anchor_regex} */ readonly timestampAnchorRegex?: string; /** * The earliest timestamp value allowed relative to now. Example: -42years. Parsed values prior to this date will be set to current time. Default: "-420weeks" * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/pack_breakers#timestamp_earliest PackBreakers#timestamp_earliest} */ readonly timestampEarliest?: string; /** * The latest timestamp value allowed relative to now. Example: +42days. Parsed values after this date will be set to current time. Default: "+1week" * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/pack_breakers#timestamp_latest PackBreakers#timestamp_latest} */ readonly timestampLatest?: string; /** * Timezone to assign to timestamps without timezone info. Default: "local" * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/pack_breakers#timestamp_timezone PackBreakers#timestamp_timezone} */ readonly timestampTimezone?: string; /** * Default: "regex"; must be one of ["regex", "json", "json_array", "header", "timestamp", "csv", "aws_cloudtrail", "aws_vpcflow"] * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/pack_breakers#type PackBreakers#type} */ readonly type?: string; } export declare function packBreakersRulesToTerraform(struct?: PackBreakersRules | cdktf.IResolvable): any; export declare function packBreakersRulesToHclTerraform(struct?: PackBreakersRules | cdktf.IResolvable): any; export declare class PackBreakersRulesOutputReference 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(): PackBreakersRules | cdktf.IResolvable | undefined; set internalValue(value: PackBreakersRules | cdktf.IResolvable | undefined); private _condition?; get condition(): string; set condition(value: string); resetCondition(): void; get conditionInput(): string; private _disabled?; get disabled(): boolean | cdktf.IResolvable; set disabled(value: boolean | cdktf.IResolvable); resetDisabled(): void; get disabledInput(): any; private _eventBreakerRegex?; get eventBreakerRegex(): string; set eventBreakerRegex(value: string); resetEventBreakerRegex(): void; get eventBreakerRegexInput(): string; private _fields; get fields(): PackBreakersRulesFieldsList; putFields(value: PackBreakersRulesFields[] | cdktf.IResolvable): void; resetFields(): void; get fieldsInput(): any; private _maxEventBytes?; get maxEventBytes(): number; set maxEventBytes(value: number); resetMaxEventBytes(): void; get maxEventBytesInput(): number; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _parserEnabled?; get parserEnabled(): boolean | cdktf.IResolvable; set parserEnabled(value: boolean | cdktf.IResolvable); resetParserEnabled(): void; get parserEnabledInput(): any; private _shouldUseDataRaw?; get shouldUseDataRaw(): boolean | cdktf.IResolvable; set shouldUseDataRaw(value: boolean | cdktf.IResolvable); resetShouldUseDataRaw(): void; get shouldUseDataRawInput(): any; private _timestamp; get timestamp(): PackBreakersRulesTimestampOutputReference; putTimestamp(value: PackBreakersRulesTimestamp): void; get timestampInput(): any; private _timestampAnchorRegex?; get timestampAnchorRegex(): string; set timestampAnchorRegex(value: string); resetTimestampAnchorRegex(): void; get timestampAnchorRegexInput(): string; private _timestampEarliest?; get timestampEarliest(): string; set timestampEarliest(value: string); resetTimestampEarliest(): void; get timestampEarliestInput(): string; private _timestampLatest?; get timestampLatest(): string; set timestampLatest(value: string); resetTimestampLatest(): void; get timestampLatestInput(): string; private _timestampTimezone?; get timestampTimezone(): string; set timestampTimezone(value: string); resetTimestampTimezone(): void; get timestampTimezoneInput(): string; private _type?; get type(): string; set type(value: string); resetType(): void; get typeInput(): string; } export declare class PackBreakersRulesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: PackBreakersRules[] | 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): PackBreakersRulesOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/pack_breakers criblio_pack_breakers} */ export declare class PackBreakers extends cdktf.TerraformResource { static readonly tfResourceType = "criblio_pack_breakers"; /** * Generates CDKTF code for importing a PackBreakers 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 PackBreakers to import * @param importFromId The id of the existing PackBreakers that should be imported. Refer to the {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/pack_breakers#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the PackBreakers 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/pack_breakers criblio_pack_breakers} 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 PackBreakersConfig */ constructor(scope: Construct, id: string, config: PackBreakersConfig); private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; private _groupId?; get groupId(): string; set groupId(value: string); get groupIdInput(): string; private _id?; get id(): string; set id(value: string); get idInput(): string; private _items; get items(): PackBreakersItemsList; private _lib?; get lib(): string; set lib(value: string); resetLib(): void; get libInput(): string; private _minRawLength?; get minRawLength(): number; set minRawLength(value: number); resetMinRawLength(): void; get minRawLengthInput(): number; private _pack?; get pack(): string; set pack(value: string); get packInput(): string; private _rules; get rules(): PackBreakersRulesList; putRules(value: PackBreakersRules[] | cdktf.IResolvable): void; resetRules(): void; get rulesInput(): any; private _tags?; get tags(): string; set tags(value: string); resetTags(): void; get tagsInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }