import * as pulumi from "@pulumi/pulumi"; /** * Drops the document without raising any errors. This is useful to prevent the document from getting indexed based on some condition. * * See: https://www.elastic.co/guide/en/elasticsearch/reference/current/drop-processor.html * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as elasticstack from "@pulumi/elasticstack"; * * const drop = elasticstack.ElasticsearchIngestProcessorDrop({ * "if": "ctx.network_name == 'Guest'", * }); * const myIngestPipeline = new elasticstack.ElasticsearchIngestPipeline("myIngestPipeline", {processors: [drop.then(drop => drop.json)]}); * ``` */ export declare function elasticsearchIngestProcessorDrop(args?: ElasticsearchIngestProcessorDropArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking ElasticsearchIngestProcessorDrop. */ export interface ElasticsearchIngestProcessorDropArgs { /** * Description of the processor. */ description?: string; /** * Conditionally execute the processor */ if?: string; /** * Ignore failures for the processor. */ ignoreFailure?: boolean; /** * Handle failures for the processor. */ onFailures?: string[]; /** * Identifier for the processor. */ tag?: string; } /** * A collection of values returned by ElasticsearchIngestProcessorDrop. */ export interface ElasticsearchIngestProcessorDropResult { /** * Description of the processor. */ readonly description?: string; /** * Internal identifier of the resource */ readonly id: string; /** * Conditionally execute the processor */ readonly if?: string; /** * Ignore failures for the processor. */ readonly ignoreFailure?: boolean; /** * JSON representation of this data source. */ readonly json: string; /** * Handle failures for the processor. */ readonly onFailures?: string[]; /** * Identifier for the processor. */ readonly tag?: string; } export declare function elasticsearchIngestProcessorDropOutput(args?: ElasticsearchIngestProcessorDropOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; /** * A collection of arguments for invoking ElasticsearchIngestProcessorDrop. */ export interface ElasticsearchIngestProcessorDropOutputArgs { /** * Description of the processor. */ description?: pulumi.Input; /** * Conditionally execute the processor */ if?: pulumi.Input; /** * Ignore failures for the processor. */ ignoreFailure?: pulumi.Input; /** * Handle failures for the processor. */ onFailures?: pulumi.Input[]>; /** * Identifier for the processor. */ tag?: pulumi.Input; }