aws-cdk-lib.aws_quicksight.CfnDashboard.DataPathColorProperty

interface DataPathColorProperty

LanguageType name
.NETAmazon.CDK.AWS.QuickSight.CfnDashboard.DataPathColorProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnDashboard_DataPathColorProperty
Javasoftware.amazon.awscdk.services.quicksight.CfnDashboard.DataPathColorProperty
Pythonaws_cdk.aws_quicksight.CfnDashboard.DataPathColorProperty
TypeScript aws-cdk-lib » aws_quicksight » CfnDashboard » 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 { aws_quicksight as quicksight } from 'aws-cdk-lib';
const dataPathColorProperty: quicksight.CfnDashboard.DataPathColorProperty = {
  color: 'color',
  element: {
    fieldId: 'fieldId',
    fieldValue: 'fieldValue',
  },

  // the properties below are optional
  timeGranularity: 'timeGranularity',
};

Properties

NameTypeDescription
colorstringThe color that needs to be applied to the element.
elementIResolvable | DataPathValuePropertyThe element that the color needs to be applied to.
timeGranularity?stringThe time granularity of the field that the color needs to be applied to.

color

Type: string

The color that needs to be applied to the element.


element

Type: IResolvable | DataPathValueProperty

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.