Skip to content
v2.278.0

PivotTableDataPathOptionProperty Struct ​

The data path options for the pivot table field options.

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 pivotTableDataPathOptionProperty: quicksight.CfnAnalysis.PivotTableDataPathOptionProperty = {
  dataPathList: [{
    dataPathType: {
      pivotTableDataPathType: 'pivotTableDataPathType',
    },
    fieldId: 'fieldId',
    fieldValue: 'fieldValue',
  }],

  // the properties below are optional
  width: 'width',
};
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

pivot_table_data_path_option_property = quicksight.CfnAnalysis.PivotTableDataPathOptionProperty(
    data_path_list=[quicksight.CfnAnalysis.DataPathValueProperty(
        data_path_type=quicksight.CfnAnalysis.DataPathTypeProperty(
            pivot_table_data_path_type="pivotTableDataPathType"
        ),
        field_id="fieldId",
        field_value="fieldValue"
    )],

    # the properties below are optional
    width="width"
)
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.*;

PivotTableDataPathOptionProperty pivotTableDataPathOptionProperty = PivotTableDataPathOptionProperty.builder()
        .dataPathList(List.of(DataPathValueProperty.builder()
                .dataPathType(DataPathTypeProperty.builder()
                        .pivotTableDataPathType("pivotTableDataPathType")
                        .build())
                .fieldId("fieldId")
                .fieldValue("fieldValue")
                .build()))

        // the properties below are optional
        .width("width")
        .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 pivotTableDataPathOptionProperty = new PivotTableDataPathOptionProperty {
    DataPathList = new [] { new DataPathValueProperty {
        DataPathType = new DataPathTypeProperty {
            PivotTableDataPathType = "pivotTableDataPathType"
        },
        FieldId = "fieldId",
        FieldValue = "fieldValue"
    } },

    // the properties below are optional
    Width = "width"
};
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"

pivotTableDataPathOptionProperty := &PivotTableDataPathOptionProperty{
	DataPathList: []interface{}{
		&DataPathValueProperty{
			DataPathType: &DataPathTypeProperty{
				PivotTableDataPathType: jsii.String("pivotTableDataPathType"),
			},
			FieldId: jsii.String("fieldId"),
			FieldValue: jsii.String("fieldValue"),
		},
	},

	// the properties below are optional
	Width: jsii.String("width"),
}

Properties ​

dataPathListIResolvable | IResolvable | CfnAnalysis.DataPathValueProperty[]data_path_listtyping.Union[IResolvable, typing.List[typing.Union[IResolvable, DataPathValueProperty]]]dataPathListIResolvableDataPathListIResolvableDataPathListinterface{} required #
The list of data path values for the data path options.
widthoptionalstringwidthoptionalstrwidthoptionalStringWidthoptionalstringWidthoptional*string #
The width of the data path option.