# TableCellStyleProperty

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

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## 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

- `backgroundColor`: string — The background color for the table cells.

- `border`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTemplate.GlobalTableBorderOptionsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnTemplate.GlobalTableBorderOptionsProperty.html) — The borders for the table cells.

- `fontConfiguration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTemplate.FontConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnTemplate.FontConfigurationProperty.html) — The font configuration of the table cells.

- `height`: number — The height color for the table cells.

- `horizontalTextAlignment`: string — The horizontal text alignment (left, center, right, auto) for the table cells.

- `textWrap`: string — The text wrap (none, wrap) for the table cells.

- `verticalTextAlignment`: string — The vertical text alignment (top, middle, bottom) for the table cells.

- `visibility`: string — The visibility of the table cells.
