import { Value } from '../../cloudformation/Value';
import { Tag } from '../Tag';
import { Attribute } from '../../cloudformation/Attribute';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
export type CustomDataIdentifierAttributes = {
    Id: Attribute<string>;
    Arn: Attribute<string>;
};
export type CustomDataIdentifier = AwsResource<'AWS::Macie::CustomDataIdentifier', CustomDataIdentifierProperties, CustomDataIdentifierAttributes>;
/**
  The <code>AWS::Macie::CustomDataIdentifier</code> resource specifies a custom data identifier. A <em>custom data identifier</em> is a set of custom criteria for Amazon Macie to use when it inspects data sources for sensitive data. The criteria consist of a regular expression (<em>regex</em>) that defines a text pattern to match and, optionally, character sequences and a proximity rule that refine the results. The character sequences can be:
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-macie-customdataidentifier.html">the AWS Docs</a>
*/
export declare function customDataIdentifier(customDataIdentifierProps: CustomDataIdentifierProperties): CustomDataIdentifier;
/**
  The <code>AWS::Macie::CustomDataIdentifier</code> resource specifies a custom data identifier. A <em>custom data identifier</em> is a set of custom criteria for Amazon Macie to use when it inspects data sources for sensitive data. The criteria consist of a regular expression (<em>regex</em>) that defines a text pattern to match and, optionally, character sequences and a proximity rule that refine the results. The character sequences can be:
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-macie-customdataidentifier.html">the AWS Docs</a>
*/
export interface CustomDataIdentifierProperties {
    /** <code>Description</code>  <a name="cfn-macie-customdataidentifier-description"></a>
  A custom description of the custom data identifier. The description can contain 1-512 characters.<br />
  Avoid including sensitive data in the description. Users of the account might be able to see the description, depending on the actions that they’re allowed to perform in Amazon Macie.<br />
  
  Required: No<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>Keywords</code>  <a name="cfn-macie-customdataidentifier-keywords"></a>
  An array of character sequences (
  keywords:  one of which must precede and be in proximity (<code>MaximumMatchDistance</code>) of the regular expression (<code>Regex</code>) to match.<br />
  The array can contain 1-50 keywords. Each keyword can contain 3-90 UTF-8 characters. Keywords aren’t case sensitive.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    keywords?: Value<Value<string>[]>;
    /** <code>Regex</code>  <a name="cfn-macie-customdataidentifier-regex"></a>
  The regular expression (
  regex: that defines the text pattern to match. The expression can contain 1-512 characters.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    regex: Value<string>;
    /** <code>IgnoreWords</code>  <a name="cfn-macie-customdataidentifier-ignorewords"></a>
  An array of character sequences (
  ignore words: to exclude from the results. If text matches the regular expression (<code>Regex</code>) but it contains a string in this array, Amazon Macie ignores the text and doesn’t include it in the results.<br />
  The array can contain 1-10 ignore words. Each ignore word can contain 4-90 UTF-8 characters. Ignore words are case sensitive.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    ignoreWords?: Value<Value<string>[]>;
    /**  */
    tags?: Tag[];
    /** <code>Name</code>  <a name="cfn-macie-customdataidentifier-name"></a>
  A custom name for the custom data identifier. The name can contain 1-128 characters.<br />
  Avoid including sensitive data in the name of a custom data identifier. Users of the account might be able to see the name, depending on the actions that they’re allowed to perform in Amazon Macie.<br />
  
  Required: Yes<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>;
    /** <code>MaximumMatchDistance</code>  <a name="cfn-macie-customdataidentifier-maximummatchdistance"></a>
  The maximum number of characters that can exist between the end of at least one complete character sequence specified by the <code>Keywords</code> array and the end of text that matches the regular expression (<code>Regex</code>). If a complete keyword precedes all the text that matches the regular expression and the keyword is within the specified distance, Amazon Macie includes the result.<br />
  The distance can be 1-300 characters. The default value is 50.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    maximumMatchDistance?: Value<number>;
}
