interface PivotTableConditionalFormattingProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.QuickSight.CfnDashboard.PivotTableConditionalFormattingProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnDashboard_PivotTableConditionalFormattingProperty |
![]() | software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableConditionalFormattingProperty |
![]() | aws_cdk.aws_quicksight.CfnDashboard.PivotTableConditionalFormattingProperty |
![]() | aws-cdk-lib » aws_quicksight » CfnDashboard » PivotTableConditionalFormattingProperty |
The conditional formatting for a PivotTableVisual
.
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 pivotTableConditionalFormattingProperty: quicksight.CfnDashboard.PivotTableConditionalFormattingProperty = {
conditionalFormattingOptions: [{
cell: {
fieldId: 'fieldId',
// the properties below are optional
scope: {
role: 'role',
},
scopes: [{
role: 'role',
}],
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 |
---|---|---|
conditional | IResolvable | IResolvable | Pivot [] | Conditional formatting options for a PivotTableVisual . |
conditionalFormattingOptions?
Type:
IResolvable
|
IResolvable
|
Pivot
[]
(optional)
Conditional formatting options for a PivotTableVisual
.