import { Value } from '../../../cloudformation/Value';
/**
  Constraint on query output removing output rows that do not meet a minimum number of distinct values of a specified column.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-aggregationconstraint.html">the AWS Docs</a>
*/
export interface AggregationConstraintProps {
    /** <code>ColumnName</code>  <a name="cfn-cleanrooms-configuredtable-aggregationconstraint-columnname"></a>
  Column in aggregation constraint for which there must be a minimum number of distinct values in an output row for it to be in the query output.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>127</code><br />
  
  Pattern: <code>[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> */
    columnName: Value<string>;
    /** <code>Minimum</code>  <a name="cfn-cleanrooms-configuredtable-aggregationconstraint-minimum"></a>
  The minimum number of distinct values that an output row must be an aggregation of. Minimum threshold of distinct values for a specified column that must exist in an output row for it to be in the query output.<br />
  
  Required: Yes<br />
  
  Minimum: <code>2</code><br />
  
  Maximum: <code>100000</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> */
    minimum: Value<number>;
    /** <code>Type</code>  <a name="cfn-cleanrooms-configuredtable-aggregationconstraint-type"></a>
  The type of aggregation the constraint allows. The only valid value is currently <code>COUNT\_DISTINCT</code>.<br />
  
  Required: Yes<br />
  
  Allowed values: <code>COUNT_DISTINCT</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> */
    type: Value<'COUNT_DISTINCT'>;
}
