interface SubtotalOptionsProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnTemplate.SubtotalOptionsProperty |
Java | software.amazon.awscdk.services.quicksight.CfnTemplate.SubtotalOptionsProperty |
Python | aws_cdk.aws_quicksight.CfnTemplate.SubtotalOptionsProperty |
TypeScript | @aws-cdk/aws-quicksight » CfnTemplate » SubtotalOptionsProperty |
The subtotal options.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as quicksight from '@aws-cdk/aws-quicksight';
const subtotalOptionsProperty: quicksight.CfnTemplate.SubtotalOptionsProperty = {
customLabel: 'customLabel',
fieldLevel: 'fieldLevel',
fieldLevelOptions: [{
fieldId: 'fieldId',
}],
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',
fontSize: {
relative: 'relative',
},
fontStyle: 'fontStyle',
fontWeight: {
name: 'name',
},
},
height: 123,
horizontalTextAlignment: 'horizontalTextAlignment',
textWrap: 'textWrap',
verticalTextAlignment: 'verticalTextAlignment',
visibility: 'visibility',
},
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',
fontSize: {
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',
fontSize: {
relative: 'relative',
},
fontStyle: 'fontStyle',
fontWeight: {
name: 'name',
},
},
height: 123,
horizontalTextAlignment: 'horizontalTextAlignment',
textWrap: 'textWrap',
verticalTextAlignment: 'verticalTextAlignment',
visibility: 'visibility',
},
};
Properties
Name | Type | Description |
---|---|---|
custom | string | The custom label string for the subtotal cells. |
field | string | The field level (all, custom, last) for the subtotal cells. |
field | IResolvable | IResolvable | Pivot [] | The optional configuration of subtotal cells. |
metric | IResolvable | Table | The cell styling options for the subtotals of header cells. |
total | IResolvable | Table | The cell styling options for the subtotal cells. |
totals | string | The visibility configuration for the subtotal cells. |
value | IResolvable | Table | The cell styling options for the subtotals of value cells. |
customLabel?
Type:
string
(optional)
The custom label string for the subtotal cells.
fieldLevel?
Type:
string
(optional)
The field level (all, custom, last) for the subtotal cells.
fieldLevelOptions?
Type:
IResolvable
|
IResolvable
|
Pivot
[]
(optional)
The optional configuration of subtotal cells.
metricHeaderCellStyle?
Type:
IResolvable
|
Table
(optional)
The cell styling options for the subtotals of header cells.
totalCellStyle?
Type:
IResolvable
|
Table
(optional)
The cell styling options for the subtotal cells.
totalsVisibility?
Type:
string
(optional)
The visibility configuration for the subtotal cells.
valueCellStyle?
Type:
IResolvable
|
Table
(optional)
The cell styling options for the subtotals of value cells.