aws-cdk-lib.aws_quicksight.CfnDashboard.PivotTableFieldCollapseStateOptionProperty

interface PivotTableFieldCollapseStateOptionProperty

LanguageType name
.NETAmazon.CDK.AWS.QuickSight.CfnDashboard.PivotTableFieldCollapseStateOptionProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnDashboard_PivotTableFieldCollapseStateOptionProperty
Javasoftware.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldCollapseStateOptionProperty
Pythonaws_cdk.aws_quicksight.CfnDashboard.PivotTableFieldCollapseStateOptionProperty
TypeScript aws-cdk-lib » aws_quicksight » CfnDashboard » 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.CfnDashboard.PivotTableFieldCollapseStateOptionProperty = {
  target: {
    fieldDataPathValues: [{
      fieldId: 'fieldId',
      fieldValue: 'fieldValue',
    }],
    fieldId: 'fieldId',
  },

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

Properties

NameTypeDescription
targetIResolvable | PivotTableFieldCollapseStateTargetPropertyA tagged-union object that sets the collapse state.
state?stringThe state of the field target of a pivot table. Choose one of the following options:.

target

Type: IResolvable | PivotTableFieldCollapseStateTargetProperty

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:.

  • COLLAPSED
  • EXPANDED