import { Value } from '../../../cloudformation/Value';
/**
  The filter settings used with image replication. Specifying a repository filter to a replication rule provides a method for controlling which repositories in a private registry are replicated. If no filters are added, the contents of all repositories are replicated.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-replicationconfiguration-repositoryfilter.html">the AWS Docs</a>
*/
export interface RepositoryFilterProps {
    /** <code>FilterType</code>  <a name="cfn-ecr-replicationconfiguration-repositoryfilter-filtertype"></a>
  The repository filter type. The only supported value is <code>PREFIX_MATCH</code>, which is a repository name prefix specified with the <code>filter</code> parameter.<br />
  
  Required: Yes<br />
  
  Allowed values: <code>PREFIX_MATCH</code><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> */
    filterType: Value<'PREFIX_MATCH'>;
    /** <code>Filter</code>  <a name="cfn-ecr-replicationconfiguration-repositoryfilter-filter"></a>
  The repository filter details. When the <code>PREFIX_MATCH</code> filter type is specified, this value is required and should be the repository name prefix to configure replication for.<br />
  
  Required: Yes<br />
  
  Minimum: <code>2</code><br />
  
  Maximum: <code>256</code><br />
  
  Pattern: <code>^(?:[a-z0-9]+(?:[._-][a-z0-9]*)*§/)*[a-z0-9]*(?:[._-][a-z0-9]*)*$</code><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> */
    filter: Value<string>;
}
