interface DataPathColorProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.QuickSight.Mixins.CfnDashboardPropsMixin.DataPathColorProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsquicksight/mixins#CfnDashboardPropsMixin_DataPathColorProperty |
Java | software.amazon.awscdk.mixins.preview.services.quicksight.mixins.CfnDashboardPropsMixin.DataPathColorProperty |
Python | aws_cdk.mixins_preview.aws_quicksight.mixins.CfnDashboardPropsMixin.DataPathColorProperty |
TypeScript | @aws-cdk/mixins-preview » aws_quicksight » mixins » CfnDashboardPropsMixin » DataPathColorProperty |
The color map that determines the color options for a particular element.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as quicksight_mixins } from '@aws-cdk/mixins-preview/aws-quicksight';
const dataPathColorProperty: quicksight_mixins.CfnDashboardPropsMixin.DataPathColorProperty = {
color: 'color',
element: {
dataPathType: {
pivotTableDataPathType: 'pivotTableDataPathType',
},
fieldId: 'fieldId',
fieldValue: 'fieldValue',
},
timeGranularity: 'timeGranularity',
};
Properties
| Name | Type | Description |
|---|---|---|
| color? | string | The color that needs to be applied to the element. |
| element? | IResolvable | Data | The element that the color needs to be applied to. |
| time | string | The time granularity of the field that the color needs to be applied to. |
color?
Type:
string
(optional)
The color that needs to be applied to the element.
element?
Type:
IResolvable | Data
(optional)
The element that the color needs to be applied to.
timeGranularity?
Type:
string
(optional)
The time granularity of the field that the color needs to be applied to.

.NET
Go
Java
Python
TypeScript