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
backgroundColoroptionalstringbackground_coloroptionalstrbackgroundColoroptionalStringBackgroundColoroptionalstringBackgroundColoroptional*string#The background color for the table cells.
borderoptionalIResolvable | CfnTemplate.GlobalTableBorderOptionsPropertyborderoptionaltyping.Union[IResolvable, GlobalTableBorderOptionsProperty]borderoptionalIResolvableBorderoptionalIResolvableBorderoptionalinterface{}#The borders for the table cells.
fontConfigurationoptionalIResolvable | CfnTemplate.FontConfigurationPropertyfont_configurationoptionaltyping.Union[IResolvable, FontConfigurationProperty]fontConfigurationoptionalIResolvableFontConfigurationoptionalIResolvableFontConfigurationoptionalinterface{}#The font configuration of the table cells.
heightoptionalnumberheightoptionalint | floatheightoptionalNumberHeightoptionaldoubleHeightoptional*float64#The height color for the table cells.
horizontalTextAlignmentoptionalstringhorizontal_text_alignmentoptionalstrhorizontalTextAlignmentoptionalStringHorizontalTextAlignmentoptionalstringHorizontalTextAlignmentoptional*string#The horizontal text alignment (left, center, right, auto) for the table cells.
textWrapoptionalstringtext_wrapoptionalstrtextWrapoptionalStringTextWrapoptionalstringTextWrapoptional*string#The text wrap (none, wrap) for the table cells.
verticalTextAlignmentoptionalstringvertical_text_alignmentoptionalstrverticalTextAlignmentoptionalStringVerticalTextAlignmentoptionalstringVerticalTextAlignmentoptional*string#The vertical text alignment (top, middle, bottom) for the table cells.
visibilityoptionalstringvisibilityoptionalstrvisibilityoptionalStringVisibilityoptionalstringVisibilityoptional*string#The visibility of the table cells.