aws-cdk-lib.aws_quicksight.CfnTemplate.TableCellStyleProperty

interface TableCellStyleProperty

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

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

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 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',
    fontSize: {
      relative: 'relative',
    },
    fontStyle: 'fontStyle',
    fontWeight: {
      name: 'name',
    },
  },
  height: 123,
  horizontalTextAlignment: 'horizontalTextAlignment',
  textWrap: 'textWrap',
  verticalTextAlignment: 'verticalTextAlignment',
  visibility: 'visibility',
};

Properties

NameTypeDescription
backgroundColor?stringThe background color for the table cells.
border?IResolvable | GlobalTableBorderOptionsPropertyThe borders for the table cells.
fontConfiguration?IResolvable | FontConfigurationPropertyThe font configuration of the table cells.
height?numberThe height color for the table cells.
horizontalTextAlignment?stringThe horizontal text alignment (left, center, right, auto) for the table cells.
textWrap?stringThe text wrap (none, wrap) for the table cells.
verticalTextAlignment?stringThe vertical text alignment (top, middle, bottom) for the table cells.
visibility?stringThe visibility of the table cells.

backgroundColor?

Type: string (optional)

The background color for the table cells.


border?

Type: IResolvable | GlobalTableBorderOptionsProperty (optional)

The borders for the table cells.


fontConfiguration?

Type: IResolvable | FontConfigurationProperty (optional)

The font configuration of the table cells.


height?

Type: number (optional)

The height color for the table cells.


horizontalTextAlignment?

Type: string (optional)

The horizontal text alignment (left, center, right, auto) for the table cells.


textWrap?

Type: string (optional)

The text wrap (none, wrap) for the table cells.


verticalTextAlignment?

Type: string (optional)

The vertical text alignment (top, middle, bottom) for the table cells.


visibility?

Type: string (optional)

The visibility of the table cells.