Skip to content
v2.273.0

TableCellStyleProperty Struct ​

The table cell style for a cell in pivot table or table visual.

Example ​

ts
// 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 tableCellStyleProperty: quicksight.CfnTemplate.TableCellStyleProperty = {
  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',
    fontFamily: 'fontFamily',
    fontSize: {
      absolute: 'absolute',
      relative: 'relative',
    },
    fontStyle: 'fontStyle',
    fontWeight: {
      name: 'name',
    },
  },
  height: 123,
  horizontalTextAlignment: 'horizontalTextAlignment',
  textWrap: 'textWrap',
  verticalTextAlignment: 'verticalTextAlignment',
  visibility: 'visibility',
};

Properties ​

backgroundColorstringbackground_colorstrbackgroundColorStringBackgroundColorstringBackgroundColor*string#
The background color for the table cells.
The borders for the table cells.
fontConfigurationIResolvable | CfnTemplate.FontConfigurationPropertyfont_configurationtyping.Union[IResolvable, FontConfigurationProperty]fontConfigurationIResolvableFontConfigurationIResolvableFontConfigurationinterface{}#
The font configuration of the table cells.
heightnumberheightint | floatheightNumberHeightdoubleHeight*float64#
The height color for the table cells.
horizontalTextAlignmentstringhorizontal_text_alignmentstrhorizontalTextAlignmentStringHorizontalTextAlignmentstringHorizontalTextAlignment*string#
The horizontal text alignment (left, center, right, auto) for the table cells.
textWrapstringtext_wrapstrtextWrapStringTextWrapstringTextWrap*string#
The text wrap (none, wrap) for the table cells.
verticalTextAlignmentstringvertical_text_alignmentstrverticalTextAlignmentStringVerticalTextAlignmentstringVerticalTextAlignment*string#
The vertical text alignment (top, middle, bottom) for the table cells.
visibilitystringvisibilitystrvisibilityStringVisibilitystringVisibility*string#
The visibility of the table cells.