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