import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * The resource schema for AWSLogs QueryDefinition */ export declare function getQueryDefinition(args: GetQueryDefinitionArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetQueryDefinitionArgs { /** * Unique identifier of a query definition */ queryDefinitionId: string; } export interface GetQueryDefinitionResult { /** * Optionally define specific log groups as part of your query definition */ readonly logGroupNames?: string[]; /** * A name for the saved query definition */ readonly name?: string; /** * Use this parameter to include specific query parameters as part of your query definition. Query parameters are supported only for Logs Insights QL queries. Query parameters allow you to use placeholder variables in your query string that are substituted with values at execution time. Use the {{parameterName}} syntax in your query string to reference a parameter. */ readonly parameters?: outputs.logs.QueryDefinitionQueryParameter[]; /** * Unique identifier of a query definition */ readonly queryDefinitionId?: string; /** * Query language of the query string. Possible values are CWLI, SQL, PPL, with CWLI being the default. */ readonly queryLanguage?: enums.logs.QueryDefinitionQueryLanguage; /** * The query string to use for this definition */ readonly queryString?: string; } /** * The resource schema for AWSLogs QueryDefinition */ export declare function getQueryDefinitionOutput(args: GetQueryDefinitionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; export interface GetQueryDefinitionOutputArgs { /** * Unique identifier of a query definition */ queryDefinitionId: pulumi.Input; }