aws-cdk-lib.aws_quicksight.CfnTemplate.TooltipOptionsProperty

interface TooltipOptionsProperty

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

The display options for the visual tooltip.

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 tooltipOptionsProperty: quicksight.CfnTemplate.TooltipOptionsProperty = {
  fieldBasedTooltip: {
    aggregationVisibility: 'aggregationVisibility',
    tooltipFields: [{
      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',
      },
    }],
    tooltipTitleType: 'tooltipTitleType',
  },
  selectedTooltipType: 'selectedTooltipType',
  tooltipVisibility: 'tooltipVisibility',
};

Properties

NameTypeDescription
fieldBasedTooltip?IResolvable | FieldBasedTooltipPropertyThe setup for the detailed tooltip.
selectedTooltipType?stringThe selected type for the tooltip. Choose one of the following options:.
tooltipVisibility?stringDetermines whether or not the tooltip is visible.

fieldBasedTooltip?

Type: IResolvable | FieldBasedTooltipProperty (optional)

The setup for the detailed tooltip.

The tooltip setup is always saved. The display type is decided based on the tooltip type.


selectedTooltipType?

Type: string (optional)

The selected type for the tooltip. Choose one of the following options:.

  • BASIC : A basic tooltip.
  • DETAILED : A detailed tooltip.

tooltipVisibility?

Type: string (optional)

Determines whether or not the tooltip is visible.