aws-cdk-lib.aws_quicksight.CfnAnalysis.ColorScaleProperty

interface ColorScaleProperty

LanguageType name
.NETAmazon.CDK.AWS.QuickSight.CfnAnalysis.ColorScaleProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnAnalysis_ColorScaleProperty
Javasoftware.amazon.awscdk.services.quicksight.CfnAnalysis.ColorScaleProperty
Pythonaws_cdk.aws_quicksight.CfnAnalysis.ColorScaleProperty
TypeScript aws-cdk-lib » aws_quicksight » CfnAnalysis » ColorScaleProperty

Determines the color scale that is applied to the 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 colorScaleProperty: quicksight.CfnAnalysis.ColorScaleProperty = {
  colorFillType: 'colorFillType',
  colors: [{
    color: 'color',
    dataValue: 123,
  }],

  // the properties below are optional
  nullValueColor: {
    color: 'color',
    dataValue: 123,
  },
};

Properties

NameTypeDescription
colorFillTypestringDetermines the color fill type.
colorsIResolvable | IResolvable | DataColorProperty[]Determines the list of colors that are applied to the visual.
nullValueColor?IResolvable | DataColorPropertyDetermines the color that is applied to null values.

colorFillType

Type: string

Determines the color fill type.


colors

Type: IResolvable | IResolvable | DataColorProperty[]

Determines the list of colors that are applied to the visual.


nullValueColor?

Type: IResolvable | DataColorProperty (optional)

Determines the color that is applied to null values.