aws-cdk-lib.aws_quicksight.CfnDashboard.TooltipItemProperty

interface TooltipItemProperty

LanguageType name
.NETAmazon.CDK.AWS.QuickSight.CfnDashboard.TooltipItemProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnDashboard_TooltipItemProperty
Javasoftware.amazon.awscdk.services.quicksight.CfnDashboard.TooltipItemProperty
Pythonaws_cdk.aws_quicksight.CfnDashboard.TooltipItemProperty
TypeScript aws-cdk-lib » aws_quicksight » CfnDashboard » TooltipItemProperty

The tooltip.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

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 tooltipItemProperty: quicksight.CfnDashboard.TooltipItemProperty = {
  columnTooltipItem: {
    column: {
      columnName: 'columnName',
      dataSetIdentifier: 'dataSetIdentifier',
    },

    // the properties below are optional
    aggregation: {
      categoricalAggregationFunction: 'categoricalAggregationFunction',
      dateAggregationFunction: 'dateAggregationFunction',
      numericalAggregationFunction: {
        percentileAggregation: {
          percentileValue: 123,
        },
        simpleNumericalAggregation: 'simpleNumericalAggregation',
      },
    },
    label: 'label',
    visibility: 'visibility',
  },
  fieldTooltipItem: {
    fieldId: 'fieldId',

    // the properties below are optional
    label: 'label',
    visibility: 'visibility',
  },
};

Properties

NameTypeDescription
columnTooltipItem?IResolvable | ColumnTooltipItemPropertyThe tooltip item for the columns that are not part of a field well.
fieldTooltipItem?IResolvable | FieldTooltipItemPropertyThe tooltip item for the fields.

columnTooltipItem?

Type: IResolvable | ColumnTooltipItemProperty (optional)

The tooltip item for the columns that are not part of a field well.


fieldTooltipItem?

Type: IResolvable | FieldTooltipItemProperty (optional)

The tooltip item for the fields.