interface PivotTableFieldOptionsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnTemplate.PivotTableFieldOptionsProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnTemplate_PivotTableFieldOptionsProperty |
Java | software.amazon.awscdk.services.quicksight.CfnTemplate.PivotTableFieldOptionsProperty |
Python | aws_cdk.aws_quicksight.CfnTemplate.PivotTableFieldOptionsProperty |
TypeScript | aws-cdk-lib » aws_quicksight » CfnTemplate » PivotTableFieldOptionsProperty |
The field options for a pivot table visual.
Example
// 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 pivotTableFieldOptionsProperty: quicksight.CfnTemplate.PivotTableFieldOptionsProperty = {
collapseStateOptions: [{
target: {
fieldDataPathValues: [{
dataPathType: {
pivotTableDataPathType: 'pivotTableDataPathType',
},
fieldId: 'fieldId',
fieldValue: 'fieldValue',
}],
fieldId: 'fieldId',
},
// the properties below are optional
state: 'state',
}],
dataPathOptions: [{
dataPathList: [{
dataPathType: {
pivotTableDataPathType: 'pivotTableDataPathType',
},
fieldId: 'fieldId',
fieldValue: 'fieldValue',
}],
// the properties below are optional
width: 'width',
}],
selectedFieldOptions: [{
fieldId: 'fieldId',
// the properties below are optional
customLabel: 'customLabel',
visibility: 'visibility',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| collapse | IResolvable | (IResolvable | Pivot)[] | The collapse state options for the pivot table field options. |
| data | IResolvable | (IResolvable | Pivot)[] | The data path options for the pivot table field options. |
| selected | IResolvable | (IResolvable | Pivot)[] | The selected field options for the pivot table field options. |
collapseStateOptions?
Type:
IResolvable | (IResolvable | Pivot)[]
(optional)
The collapse state options for the pivot table field options.
dataPathOptions?
Type:
IResolvable | (IResolvable | Pivot)[]
(optional)
The data path options for the pivot table field options.
selectedFieldOptions?
Type:
IResolvable | (IResolvable | Pivot)[]
(optional)
The selected field options for the pivot table field options.

.NET
Go
Java
Python
TypeScript