Skip to content
v2.278.0

DataPathValueProperty Struct ​

The data path that needs to be sorted.

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 dataPathValueProperty: quicksight.CfnAnalysis.DataPathValueProperty = {
  dataPathType: {
    pivotTableDataPathType: 'pivotTableDataPathType',
  },
  fieldId: 'fieldId',
  fieldValue: 'fieldValue',
};
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

data_path_value_property = quicksight.CfnAnalysis.DataPathValueProperty(
    data_path_type=quicksight.CfnAnalysis.DataPathTypeProperty(
        pivot_table_data_path_type="pivotTableDataPathType"
    ),
    field_id="fieldId",
    field_value="fieldValue"
)
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.*;

DataPathValueProperty dataPathValueProperty = DataPathValueProperty.builder()
        .dataPathType(DataPathTypeProperty.builder()
                .pivotTableDataPathType("pivotTableDataPathType")
                .build())
        .fieldId("fieldId")
        .fieldValue("fieldValue")
        .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 dataPathValueProperty = new DataPathValueProperty {
    DataPathType = new DataPathTypeProperty {
        PivotTableDataPathType = "pivotTableDataPathType"
    },
    FieldId = "fieldId",
    FieldValue = "fieldValue"
};
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"

dataPathValueProperty := &DataPathValueProperty{
	DataPathType: &DataPathTypeProperty{
		PivotTableDataPathType: jsii.String("pivotTableDataPathType"),
	},
	FieldId: jsii.String("fieldId"),
	FieldValue: jsii.String("fieldValue"),
}

Properties ​

dataPathTypeoptionalIResolvable | CfnAnalysis.DataPathTypePropertydata_path_typeoptionaltyping.Union[IResolvable, DataPathTypeProperty]dataPathTypeoptionalIResolvableDataPathTypeoptionalIResolvableDataPathTypeoptionalinterface{} #
The type configuration of the field.
fieldIdoptionalstringfield_idoptionalstrfieldIdoptionalStringFieldIdoptionalstringFieldIdoptional*string #
The field ID of the field that needs to be sorted.
fieldValueoptionalstringfield_valueoptionalstrfieldValueoptionalStringFieldValueoptionalstringFieldValueoptional*string #
The actual value of the field that needs to be sorted.