PivotTotalOptionsProperty Struct
The optional configuration of totals cells in a PivotTableVisual .
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 pivotTotalOptionsProperty: quicksight.CfnAnalysis.PivotTotalOptionsProperty = {
customLabel: 'customLabel',
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',
fontFamily: 'fontFamily',
fontSize: {
absolute: 'absolute',
relative: 'relative',
},
fontStyle: 'fontStyle',
fontWeight: {
name: 'name',
},
},
height: 123,
horizontalTextAlignment: 'horizontalTextAlignment',
textWrap: 'textWrap',
verticalTextAlignment: 'verticalTextAlignment',
visibility: 'visibility',
},
placement: 'placement',
scrollStatus: 'scrollStatus',
totalAggregationOptions: [{
fieldId: 'fieldId',
totalAggregationFunction: {
simpleTotalAggregationFunction: 'simpleTotalAggregationFunction',
},
}],
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',
fontFamily: 'fontFamily',
fontSize: {
absolute: 'absolute',
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',
fontFamily: 'fontFamily',
fontSize: {
absolute: 'absolute',
relative: 'relative',
},
fontStyle: 'fontStyle',
fontWeight: {
name: 'name',
},
},
height: 123,
horizontalTextAlignment: 'horizontalTextAlignment',
textWrap: 'textWrap',
verticalTextAlignment: 'verticalTextAlignment',
visibility: 'visibility',
},
};
Properties
customLabeloptionalstringcustom_labeloptionalstrcustomLabeloptionalStringCustomLabeloptionalstringCustomLabeloptional*string#The custom label string for the total cells.
metricHeaderCellStyleoptionalIResolvable | CfnAnalysis.TableCellStylePropertymetric_header_cell_styleoptionaltyping.Union[IResolvable, TableCellStyleProperty]metricHeaderCellStyleoptionalIResolvableMetricHeaderCellStyleoptionalIResolvableMetricHeaderCellStyleoptionalinterface{}#The cell styling options for the total of header cells.
placementoptionalstringplacementoptionalstrplacementoptionalStringPlacementoptionalstringPlacementoptional*string#The placement (start, end) for the total cells.
scrollStatusoptionalstringscroll_statusoptionalstrscrollStatusoptionalStringScrollStatusoptionalstringScrollStatusoptional*string#The scroll status (pinned, scrolled) for the total cells.
totalAggregationOptionsoptionalIResolvable | IResolvable | CfnAnalysis.TotalAggregationOptionProperty[]total_aggregation_optionsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, TotalAggregationOptionProperty]]]totalAggregationOptionsoptionalIResolvableTotalAggregationOptionsoptionalIResolvableTotalAggregationOptionsoptionalinterface{}#The total aggregation options for each value field.
totalCellStyleoptionalIResolvable | CfnAnalysis.TableCellStylePropertytotal_cell_styleoptionaltyping.Union[IResolvable, TableCellStyleProperty]totalCellStyleoptionalIResolvableTotalCellStyleoptionalIResolvableTotalCellStyleoptionalinterface{}#The cell styling options for the total cells.
totalsVisibilityoptionalstringtotals_visibilityoptionalstrtotalsVisibilityoptionalStringTotalsVisibilityoptionalstringTotalsVisibilityoptional*string#The visibility configuration for the total cells.
valueCellStyleoptionalIResolvable | CfnAnalysis.TableCellStylePropertyvalue_cell_styleoptionaltyping.Union[IResolvable, TableCellStyleProperty]valueCellStyleoptionalIResolvableValueCellStyleoptionalIResolvableValueCellStyleoptionalinterface{}#The cell styling options for the totals of value cells.