Skip to content
v2.273.0

PivotTableFieldCollapseStateOptionProperty Struct ​

The collapse state 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 pivotTableFieldCollapseStateOptionProperty: quicksight.CfnTemplate.PivotTableFieldCollapseStateOptionProperty = {
  target: {
    fieldDataPathValues: [{
      dataPathType: {
        pivotTableDataPathType: 'pivotTableDataPathType',
      },
      fieldId: 'fieldId',
      fieldValue: 'fieldValue',
    }],
    fieldId: 'fieldId',
  },

  // the properties below are optional
  state: 'state',
};

Properties ​

statestringstatestrstateStringStatestringState*string#
The state of the field target of a pivot table. Choose one of the following options:.
  • COLLAPSED
  • EXPANDED
A tagged-union object that sets the collapse state.