interface PivotTableFieldCollapseStateOptionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnTemplate.PivotTableFieldCollapseStateOptionProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnTemplate_PivotTableFieldCollapseStateOptionProperty |
Java | software.amazon.awscdk.services.quicksight.CfnTemplate.PivotTableFieldCollapseStateOptionProperty |
Python | aws_cdk.aws_quicksight.CfnTemplate.PivotTableFieldCollapseStateOptionProperty |
TypeScript | aws-cdk-lib » aws_quicksight » CfnTemplate » PivotTableFieldCollapseStateOptionProperty |
The collapse state options for the pivot table field options.
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 pivotTableFieldCollapseStateOptionProperty: quicksight.CfnTemplate.PivotTableFieldCollapseStateOptionProperty = {
target: {
fieldDataPathValues: [{
dataPathType: {
pivotTableDataPathType: 'pivotTableDataPathType',
},
fieldId: 'fieldId',
fieldValue: 'fieldValue',
}],
fieldId: 'fieldId',
},
// the properties below are optional
state: 'state',
};
Properties
| Name | Type | Description |
|---|---|---|
| target | IResolvable | Pivot | A tagged-union object that sets the collapse state. |
| state? | string | The state of the field target of a pivot table. Choose one of the following options:. |
target
Type:
IResolvable | Pivot
A tagged-union object that sets the collapse state.
state?
Type:
string
(optional)
The state of the field target of a pivot table. Choose one of the following options:.
COLLAPSEDEXPANDED

.NET
Go
Java
Python
TypeScript