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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_quicksight as quicksight
calculated_column_property = quicksight.CfnDataSet.CalculatedColumnProperty(
column_id="columnId",
column_name="columnName",
expression="expression"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.quicksight.*;
CalculatedColumnProperty calculatedColumnProperty = CalculatedColumnProperty.builder()
.columnId("columnId")
.columnName("columnName")
.expression("expression")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.QuickSight;
var calculatedColumnProperty = new CalculatedColumnProperty {
ColumnId = "columnId",
ColumnName = "columnName",
Expression = "expression"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
calculatedColumnProperty := &CalculatedColumnProperty{
ColumnId: jsii.String("columnId"),
ColumnName: jsii.String("columnName"),
Expression: jsii.String("expression"),
}
Properties
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.
Column name.
An expression that defines the calculated column.