interface KPIComparisonValueConditionalFormattingProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnTemplate.KPIComparisonValueConditionalFormattingProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnTemplate_KPIComparisonValueConditionalFormattingProperty |
Java | software.amazon.awscdk.services.quicksight.CfnTemplate.KPIComparisonValueConditionalFormattingProperty |
Python | aws_cdk.aws_quicksight.CfnTemplate.KPIComparisonValueConditionalFormattingProperty |
TypeScript | aws-cdk-lib » aws_quicksight » CfnTemplate » KPIComparisonValueConditionalFormattingProperty |
The conditional formatting for the comparison value of a KPI 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 kPIComparisonValueConditionalFormattingProperty: quicksight.CfnTemplate.KPIComparisonValueConditionalFormattingProperty = {
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 |
---|---|---|
icon? | IResolvable | Conditional | The conditional formatting of the comparison value's icon. |
text | IResolvable | Conditional | The conditional formatting of the comparison value's text color. |
icon?
Type:
IResolvable
|
Conditional
(optional)
The conditional formatting of the comparison value's icon.
textColor?
Type:
IResolvable
|
Conditional
(optional)
The conditional formatting of the comparison value's text color.