interface TableCellConditionalFormattingProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnTemplate.TableCellConditionalFormattingProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnTemplate_TableCellConditionalFormattingProperty |
Java | software.amazon.awscdk.services.quicksight.CfnTemplate.TableCellConditionalFormattingProperty |
Python | aws_cdk.aws_quicksight.CfnTemplate.TableCellConditionalFormattingProperty |
TypeScript | aws-cdk-lib » aws_quicksight » CfnTemplate » TableCellConditionalFormattingProperty |
The cell conditional formatting option for a table.
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 tableCellConditionalFormattingProperty: quicksight.CfnTemplate.TableCellConditionalFormattingProperty = {
fieldId: 'fieldId',
// the properties below are optional
textFormat: {
backgroundColor: {
gradient: {
color: {
stops: [{
gradientOffset: 123,
// the properties below are optional
color: 'color',
dataValue: 123,
}],
},
expression: 'expression',
},
solid: {
expression: 'expression',
// the properties below are optional
color: 'color',
},
},
icon: {
customCondition: {
expression: 'expression',
iconOptions: {
icon: 'icon',
unicodeIcon: 'unicodeIcon',
},
// the properties below are optional
color: 'color',
displayConfiguration: {
iconDisplayOption: 'iconDisplayOption',
},
},
iconSet: {
expression: 'expression',
// the properties below are optional
iconSetType: 'iconSetType',
},
},
textColor: {
gradient: {
color: {
stops: [{
gradientOffset: 123,
// the properties below are optional
color: 'color',
dataValue: 123,
}],
},
expression: 'expression',
},
solid: {
expression: 'expression',
// the properties below are optional
color: 'color',
},
},
},
};
Properties
Name | Type | Description |
---|---|---|
field | string | The field ID of the cell for conditional formatting. |
text | IResolvable | Text | The text format of the cell for conditional formatting. |
fieldId
Type:
string
The field ID of the cell for conditional formatting.
textFormat?
Type:
IResolvable
|
Text
(optional)
The text format of the cell for conditional formatting.