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
The state of the field target of a pivot table. Choose one of the following options:.
COLLAPSEDEXPANDED
targetIResolvable | CfnTemplate.PivotTableFieldCollapseStateTargetPropertytargettyping.Union[IResolvable, PivotTableFieldCollapseStateTargetProperty]targetIResolvableTargetIResolvableTargetinterface{}required#A tagged-union object that sets the collapse state.