aws-cdk-lib.aws_quicksight.CfnDashboard.SubtotalOptionsProperty

interface SubtotalOptionsProperty

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

The subtotal 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 subtotalOptionsProperty: quicksight.CfnDashboard.SubtotalOptionsProperty = {
  customLabel: 'customLabel',
  fieldLevel: 'fieldLevel',
  fieldLevelOptions: [{
    fieldId: 'fieldId',
  }],
  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',
  },
  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 subtotal cells.
fieldLevel?stringThe field level (all, custom, last) for the subtotal cells.
fieldLevelOptions?IResolvable | IResolvable | PivotTableFieldSubtotalOptionsProperty[]The optional configuration of subtotal cells.
metricHeaderCellStyle?IResolvable | TableCellStylePropertyThe cell styling options for the subtotals of header cells.
totalCellStyle?IResolvable | TableCellStylePropertyThe cell styling options for the subtotal cells.
totalsVisibility?stringThe visibility configuration for the subtotal cells.
valueCellStyle?IResolvable | TableCellStylePropertyThe cell styling options for the subtotals of value cells.

customLabel?

Type: string (optional)

The custom label string for the subtotal cells.


fieldLevel?

Type: string (optional)

The field level (all, custom, last) for the subtotal cells.


fieldLevelOptions?

Type: IResolvable | IResolvable | PivotTableFieldSubtotalOptionsProperty[] (optional)

The optional configuration of subtotal cells.


metricHeaderCellStyle?

Type: IResolvable | TableCellStyleProperty (optional)

The cell styling options for the subtotals of header cells.


totalCellStyle?

Type: IResolvable | TableCellStyleProperty (optional)

The cell styling options for the subtotal cells.


totalsVisibility?

Type: string (optional)

The visibility configuration for the subtotal cells.


valueCellStyle?

Type: IResolvable | TableCellStyleProperty (optional)

The cell styling options for the subtotals of value cells.