import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface MappingRulesetConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/mapping_ruleset#active MappingRuleset#active} */ readonly active?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/mapping_ruleset#conf MappingRuleset#conf} */ readonly conf?: MappingRulesetConf; /** * The id of the mapping ruleset to get * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/mapping_ruleset#id MappingRuleset#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; /** * Name of the Cribl product to create the mappings for. must be one of ["stream", "edge"] * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/mapping_ruleset#product MappingRuleset#product} */ readonly product: string; } export interface MappingRulesetConfFunctionsConfAdd { /** * Name of the field to add. Not Null * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/mapping_ruleset#name MappingRuleset#name} */ readonly name?: string; /** * Value to assign to the field. Not Null * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/mapping_ruleset#value MappingRuleset#value} */ readonly value?: string; } export declare function mappingRulesetConfFunctionsConfAddToTerraform(struct?: MappingRulesetConfFunctionsConfAdd | cdktf.IResolvable): any; export declare function mappingRulesetConfFunctionsConfAddToHclTerraform(struct?: MappingRulesetConfFunctionsConfAdd | cdktf.IResolvable): any; export declare class MappingRulesetConfFunctionsConfAddOutputReference 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(): MappingRulesetConfFunctionsConfAdd | cdktf.IResolvable | undefined; set internalValue(value: MappingRulesetConfFunctionsConfAdd | 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); resetValue(): void; get valueInput(): string; } export declare class MappingRulesetConfFunctionsConfAddList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: MappingRulesetConfFunctionsConfAdd[] | 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): MappingRulesetConfFunctionsConfAddOutputReference; } export interface MappingRulesetConfFunctionsConf { /** * List of fields to add to the event * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/mapping_ruleset#add MappingRuleset#add} */ readonly add?: MappingRulesetConfFunctionsConfAdd[] | cdktf.IResolvable; } export declare function mappingRulesetConfFunctionsConfToTerraform(struct?: MappingRulesetConfFunctionsConf | cdktf.IResolvable): any; export declare function mappingRulesetConfFunctionsConfToHclTerraform(struct?: MappingRulesetConfFunctionsConf | cdktf.IResolvable): any; export declare class MappingRulesetConfFunctionsConfOutputReference 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(): MappingRulesetConfFunctionsConf | cdktf.IResolvable | undefined; set internalValue(value: MappingRulesetConfFunctionsConf | cdktf.IResolvable | undefined); private _add; get add(): MappingRulesetConfFunctionsConfAddList; putAdd(value: MappingRulesetConfFunctionsConfAdd[] | cdktf.IResolvable): void; resetAdd(): void; get addInput(): any; } export interface MappingRulesetConfFunctions { /** * Not Null * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/mapping_ruleset#conf MappingRuleset#conf} */ readonly conf?: MappingRulesetConfFunctionsConf; /** * Simple description of this step * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/mapping_ruleset#description MappingRuleset#description} */ readonly description?: string; /** * If true, data will not be pushed through this function * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/mapping_ruleset#disabled MappingRuleset#disabled} */ readonly disabled?: boolean | cdktf.IResolvable; /** * Filter that selects data to be fed through this Function. Default: "true" * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/mapping_ruleset#filter MappingRuleset#filter} */ readonly filter?: string; /** * If enabled, stops the results of this Function from being passed to the downstream Functions * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/mapping_ruleset#final MappingRuleset#final} */ readonly final?: boolean | cdktf.IResolvable; /** * Group ID * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/mapping_ruleset#group_id MappingRuleset#group_id} */ readonly groupId?: string; /** * Function ID. Not Null * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/mapping_ruleset#id MappingRuleset#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 mappingRulesetConfFunctionsToTerraform(struct?: MappingRulesetConfFunctions | cdktf.IResolvable): any; export declare function mappingRulesetConfFunctionsToHclTerraform(struct?: MappingRulesetConfFunctions | cdktf.IResolvable): any; export declare class MappingRulesetConfFunctionsOutputReference 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(): MappingRulesetConfFunctions | cdktf.IResolvable | undefined; set internalValue(value: MappingRulesetConfFunctions | cdktf.IResolvable | undefined); private _conf; get conf(): MappingRulesetConfFunctionsConfOutputReference; putConf(value: MappingRulesetConfFunctionsConf): void; resetConf(): void; get confInput(): any; private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; private _disabled?; get disabled(): boolean | cdktf.IResolvable; set disabled(value: boolean | cdktf.IResolvable); resetDisabled(): void; get disabledInput(): any; private _filter?; get filter(): string; set filter(value: string); resetFilter(): void; get filterInput(): string; private _final?; get final(): boolean | cdktf.IResolvable; set final(value: boolean | cdktf.IResolvable); resetFinal(): void; get finalInput(): any; private _groupId?; get groupId(): string; set groupId(value: string); resetGroupId(): void; get groupIdInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; } export declare class MappingRulesetConfFunctionsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: MappingRulesetConfFunctions[] | 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): MappingRulesetConfFunctionsOutputReference; } export interface MappingRulesetConf { /** * List of functions to pass data through * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/mapping_ruleset#functions MappingRuleset#functions} */ readonly functions?: MappingRulesetConfFunctions[] | cdktf.IResolvable; } export declare function mappingRulesetConfToTerraform(struct?: MappingRulesetConf | cdktf.IResolvable): any; export declare function mappingRulesetConfToHclTerraform(struct?: MappingRulesetConf | cdktf.IResolvable): any; export declare class MappingRulesetConfOutputReference 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(): MappingRulesetConf | cdktf.IResolvable | undefined; set internalValue(value: MappingRulesetConf | cdktf.IResolvable | undefined); private _functions; get functions(): MappingRulesetConfFunctionsList; putFunctions(value: MappingRulesetConfFunctions[] | cdktf.IResolvable): void; resetFunctions(): void; get functionsInput(): any; } /** * Represents a {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/mapping_ruleset criblio_mapping_ruleset} */ export declare class MappingRuleset extends cdktf.TerraformResource { static readonly tfResourceType = "criblio_mapping_ruleset"; /** * Generates CDKTF code for importing a MappingRuleset 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 MappingRuleset to import * @param importFromId The id of the existing MappingRuleset that should be imported. Refer to the {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/mapping_ruleset#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the MappingRuleset 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/mapping_ruleset criblio_mapping_ruleset} 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 MappingRulesetConfig */ constructor(scope: Construct, id: string, config: MappingRulesetConfig); private _active?; get active(): boolean | cdktf.IResolvable; set active(value: boolean | cdktf.IResolvable); resetActive(): void; get activeInput(): any; private _conf; get conf(): MappingRulesetConfOutputReference; putConf(value: MappingRulesetConf): void; resetConf(): void; get confInput(): any; private _id?; get id(): string; set id(value: string); get idInput(): string; private _product?; get product(): string; set product(value: string); get productInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }