Skip to content
v2.275.0

AggregationConstraintProperty Struct ​

Constraint on query output removing output rows that do not meet a minimum number of distinct values of a specified column.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cleanrooms as cleanrooms } from 'aws-cdk-lib';
const aggregationConstraintProperty: cleanrooms.CfnConfiguredTable.AggregationConstraintProperty = {
  columnName: 'columnName',
  minimum: 123,
  type: 'type',
};

Properties ​

columnNamestringcolumn_namestrcolumnNameStringColumnNamestringColumnName*stringrequired#
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.
minimumnumberminimumint | floatminimumNumberMinimumdoubleMinimum*float64required#
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.

typestringtypestrtypeStringTypestringType*stringrequired#
The type of aggregation the constraint allows.

The only valid value is currently COUNT_DISTINCT.