Skip to content
v2.278.0

CalculatedFieldProperty Struct ​

The calculated field of an analysis.

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 calculatedFieldProperty: quicksight.CfnAnalysis.CalculatedFieldProperty = {
  expression: 'expression',
  name: 'name',

  // the properties below are optional
  dataSetIdentifier: 'dataSetIdentifier',
  topicIdentifier: 'topicIdentifier',
};
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_field_property = quicksight.CfnAnalysis.CalculatedFieldProperty(
    expression="expression",
    name="name",

    # the properties below are optional
    data_set_identifier="dataSetIdentifier",
    topic_identifier="topicIdentifier"
)
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.*;

CalculatedFieldProperty calculatedFieldProperty = CalculatedFieldProperty.builder()
        .expression("expression")
        .name("name")

        // the properties below are optional
        .dataSetIdentifier("dataSetIdentifier")
        .topicIdentifier("topicIdentifier")
        .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 calculatedFieldProperty = new CalculatedFieldProperty {
    Expression = "expression",
    Name = "name",

    // the properties below are optional
    DataSetIdentifier = "dataSetIdentifier",
    TopicIdentifier = "topicIdentifier"
};
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"

calculatedFieldProperty := &CalculatedFieldProperty{
	Expression: jsii.String("expression"),
	Name: jsii.String("name"),

	// the properties below are optional
	DataSetIdentifier: jsii.String("dataSetIdentifier"),
	TopicIdentifier: jsii.String("topicIdentifier"),
}

Properties ​

dataSetIdentifieroptionalstringdata_set_identifieroptionalstrdataSetIdentifieroptionalStringDataSetIdentifieroptionalstringDataSetIdentifieroptional*string = "" #
The data set that is used in this calculated field.
expressionstringexpressionstrexpressionStringExpressionstringExpression*string required #
The expression of the calculated field.
namestringnamestrnameStringNamestringName*string required #
The name of the calculated field.
topicIdentifieroptionalstringtopic_identifieroptionalstrtopicIdentifieroptionalStringTopicIdentifieroptionalstringTopicIdentifieroptional*string #