import { Value } from '../../cloudformation/Value';
import { Attribute } from '../../cloudformation/Attribute';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
export type QueryDefinitionAttributes = {
    QueryDefinitionId: Attribute<string>;
};
export type QueryDefinition = AwsResource<'AWS::Logs::QueryDefinition', QueryDefinitionProperties, QueryDefinitionAttributes>;
/**
  Creates a query definition for CloudWatch Logs Insights. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AnalyzingLogData.html"> Analyzing Log Data with CloudWatch Logs Insights</a>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-querydefinition.html">the AWS Docs</a>
*/
export declare function queryDefinition(queryDefinitionProps: QueryDefinitionProperties): QueryDefinition;
/**
  Creates a query definition for CloudWatch Logs Insights. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AnalyzingLogData.html"> Analyzing Log Data with CloudWatch Logs Insights</a>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-querydefinition.html">the AWS Docs</a>
*/
export interface QueryDefinitionProperties {
    /** <code>QueryString</code>  <a name="cfn-logs-querydefinition-querystring"></a>
  The query string to use for this query definition. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html"> CloudWatch Logs Insights Query Syntax</a>.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    queryString: Value<string>;
    /** <code>LogGroupNames</code>  <a name="cfn-logs-querydefinition-loggroupnames"></a>
  Use this parameter if you want the query to query only certain log groups.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    logGroupNames?: Value<Value<string>[]>;
    /** <code>Name</code>  <a name="cfn-logs-querydefinition-name"></a>
  A name for the query definition.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    name: Value<string>;
}
