aws-cdk-lib.aws_quicksight.CfnAnalysis.PivotTotalOptionsProperty

interface PivotTotalOptionsProperty

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

The optional configuration of totals cells in a PivotTableVisual .

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 pivotTotalOptionsProperty: quicksight.CfnAnalysis.PivotTotalOptionsProperty = {
  customLabel: 'customLabel',
  metricHeaderCellStyle: {
    backgroundColor: 'backgroundColor',
    border: {
      sideSpecificBorder: {
        bottom: {
          color: 'color',
          style: 'style',
          thickness: 123,
        },
        innerHorizontal: {
          color: 'color',
          style: 'style',
          thickness: 123,
        },
        innerVertical: {
          color: 'color',
          style: 'style',
          thickness: 123,
        },
        left: {
          color: 'color',
          style: 'style',
          thickness: 123,
        },
        right: {
          color: 'color',
          style: 'style',
          thickness: 123,
        },
        top: {
          color: 'color',
          style: 'style',
          thickness: 123,
        },
      },
      uniformBorder: {
        color: 'color',
        style: 'style',
        thickness: 123,
      },
    },
    fontConfiguration: {
      fontColor: 'fontColor',
      fontDecoration: 'fontDecoration',
      fontSize: {
        relative: 'relative',
      },
      fontStyle: 'fontStyle',
      fontWeight: {
        name: 'name',
      },
    },
    height: 123,
    horizontalTextAlignment: 'horizontalTextAlignment',
    textWrap: 'textWrap',
    verticalTextAlignment: 'verticalTextAlignment',
    visibility: 'visibility',
  },
  placement: 'placement',
  scrollStatus: 'scrollStatus',
  totalCellStyle: {
    backgroundColor: 'backgroundColor',
    border: {
      sideSpecificBorder: {
        bottom: {
          color: 'color',
          style: 'style',
          thickness: 123,
        },
        innerHorizontal: {
          color: 'color',
          style: 'style',
          thickness: 123,
        },
        innerVertical: {
          color: 'color',
          style: 'style',
          thickness: 123,
        },
        left: {
          color: 'color',
          style: 'style',
          thickness: 123,
        },
        right: {
          color: 'color',
          style: 'style',
          thickness: 123,
        },
        top: {
          color: 'color',
          style: 'style',
          thickness: 123,
        },
      },
      uniformBorder: {
        color: 'color',
        style: 'style',
        thickness: 123,
      },
    },
    fontConfiguration: {
      fontColor: 'fontColor',
      fontDecoration: 'fontDecoration',
      fontSize: {
        relative: 'relative',
      },
      fontStyle: 'fontStyle',
      fontWeight: {
        name: 'name',
      },
    },
    height: 123,
    horizontalTextAlignment: 'horizontalTextAlignment',
    textWrap: 'textWrap',
    verticalTextAlignment: 'verticalTextAlignment',
    visibility: 'visibility',
  },
  totalsVisibility: 'totalsVisibility',
  valueCellStyle: {
    backgroundColor: 'backgroundColor',
    border: {
      sideSpecificBorder: {
        bottom: {
          color: 'color',
          style: 'style',
          thickness: 123,
        },
        innerHorizontal: {
          color: 'color',
          style: 'style',
          thickness: 123,
        },
        innerVertical: {
          color: 'color',
          style: 'style',
          thickness: 123,
        },
        left: {
          color: 'color',
          style: 'style',
          thickness: 123,
        },
        right: {
          color: 'color',
          style: 'style',
          thickness: 123,
        },
        top: {
          color: 'color',
          style: 'style',
          thickness: 123,
        },
      },
      uniformBorder: {
        color: 'color',
        style: 'style',
        thickness: 123,
      },
    },
    fontConfiguration: {
      fontColor: 'fontColor',
      fontDecoration: 'fontDecoration',
      fontSize: {
        relative: 'relative',
      },
      fontStyle: 'fontStyle',
      fontWeight: {
        name: 'name',
      },
    },
    height: 123,
    horizontalTextAlignment: 'horizontalTextAlignment',
    textWrap: 'textWrap',
    verticalTextAlignment: 'verticalTextAlignment',
    visibility: 'visibility',
  },
};

Properties

NameTypeDescription
customLabel?stringThe custom label string for the total cells.
metricHeaderCellStyle?IResolvable | TableCellStylePropertyThe cell styling options for the total of header cells.
placement?stringThe placement (start, end) for the total cells.
scrollStatus?stringThe scroll status (pinned, scrolled) for the total cells.
totalCellStyle?IResolvable | TableCellStylePropertyThe cell styling options for the total cells.
totalsVisibility?stringThe visibility configuration for the total cells.
valueCellStyle?IResolvable | TableCellStylePropertyThe cell styling options for the totals of value cells.

customLabel?

Type: string (optional)

The custom label string for the total cells.


metricHeaderCellStyle?

Type: IResolvable | TableCellStyleProperty (optional)

The cell styling options for the total of header cells.


placement?

Type: string (optional)

The placement (start, end) for the total cells.


scrollStatus?

Type: string (optional)

The scroll status (pinned, scrolled) for the total cells.


totalCellStyle?

Type: IResolvable | TableCellStyleProperty (optional)

The cell styling options for the total cells.


totalsVisibility?

Type: string (optional)

The visibility configuration for the total cells.


valueCellStyle?

Type: IResolvable | TableCellStyleProperty (optional)

The cell styling options for the totals of value cells.