Skip to content
v2.273.0

CalculatedColumnProperty Struct ​

A calculated column for a dataset.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const calculatedColumnProperty: quicksight.CfnDataSet.CalculatedColumnProperty = {
  columnId: 'columnId',
  columnName: 'columnName',
  expression: 'expression',
};

Properties ​

columnIdstringcolumn_idstrcolumnIdStringColumnIdstringColumnId*stringrequired#
A unique ID to identify a calculated column.

During a dataset update, if the column ID of a calculated column matches that of an existing calculated column, Quick Sight preserves the existing calculated column.

columnNamestringcolumn_namestrcolumnNameStringColumnNamestringColumnName*stringrequired#
Column name.
expressionstringexpressionstrexpressionStringExpressionstringExpression*stringrequired#
An expression that defines the calculated column.