interface FilledMapShapeConditionalFormattingProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnTemplate.FilledMapShapeConditionalFormattingProperty |
Java | software.amazon.awscdk.services.quicksight.CfnTemplate.FilledMapShapeConditionalFormattingProperty |
Python | aws_cdk.aws_quicksight.CfnTemplate.FilledMapShapeConditionalFormattingProperty |
TypeScript | @aws-cdk/aws-quicksight » CfnTemplate » FilledMapShapeConditionalFormattingProperty |
The conditional formatting that determines the shape of the filled map.
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 filledMapShapeConditionalFormattingProperty: quicksight.CfnTemplate.FilledMapShapeConditionalFormattingProperty = {
fieldId: 'fieldId',
// the properties below are optional
format: {
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',
},
},
},
};
Properties
Name | Type | Description |
---|---|---|
field | string | The field ID of the filled map shape. |
format? | IResolvable | Shape | The conditional formatting that determines the background color of a filled map's shape. |
fieldId
Type:
string
The field ID of the filled map shape.
format?
Type:
IResolvable
|
Shape
(optional)
The conditional formatting that determines the background color of a filled map's shape.