import { Value } from '../../cloudformation/Value';
import { Attribute } from '../../cloudformation/Attribute';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
export type NamedQueryAttributes = {
    NamedQueryId: Attribute<string>;
};
export type NamedQuery = AwsResource<'AWS::Athena::NamedQuery', NamedQueryProperties, NamedQueryAttributes>;
/**
  The <code>AWS::Athena::NamedQuery</code> resource specifies an Amazon Athena saved query, where <code>QueryString</code> contains the SQL query statements that make up the query.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-namedquery.html">the AWS Docs</a>
*/
export declare function namedQuery(namedQueryProps: NamedQueryProperties): NamedQuery;
/**
  The <code>AWS::Athena::NamedQuery</code> resource specifies an Amazon Athena saved query, where <code>QueryString</code> contains the SQL query statements that make up the query.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-namedquery.html">the AWS Docs</a>
*/
export interface NamedQueryProperties {
    /** <code>WorkGroup</code>  <a name="cfn-athena-namedquery-workgroup"></a>
  The name of the workgroup that contains the named query.<br />
  
  Required: No<br />
  
  Pattern: <code>[a-zA-Z0-9._-]{1,128}</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    workGroup?: Value<string>;
    /** <code>Description</code>  <a name="cfn-athena-namedquery-description"></a>
  The query description.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>1024</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    description?: Value<string>;
    /** <code>QueryString</code>  <a name="cfn-athena-namedquery-querystring"></a>
  The SQL statements that make up the query.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>262144</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    queryString: Value<string>;
    /** <code>Database</code>  <a name="cfn-athena-namedquery-database"></a>
  The database to which the query belongs.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>255</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    database: Value<string>;
    /** <code>Name</code>  <a name="cfn-athena-namedquery-name"></a>
  The query name.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>128</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    name?: Value<string>;
}
