GeospatialHeatmapColorScaleProperty Struct
The color scale specification for the heatmap point style.
Example
ts
// 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 geospatialHeatmapColorScaleProperty: quicksight.CfnAnalysis.GeospatialHeatmapColorScaleProperty = {
colors: [{
color: 'color',
}],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_quicksight as quicksight
geospatial_heatmap_color_scale_property = quicksight.CfnAnalysis.GeospatialHeatmapColorScaleProperty(
colors=[quicksight.CfnAnalysis.GeospatialHeatmapDataColorProperty(
color="color"
)]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.quicksight.*;
GeospatialHeatmapColorScaleProperty geospatialHeatmapColorScaleProperty = GeospatialHeatmapColorScaleProperty.builder()
.colors(List.of(GeospatialHeatmapDataColorProperty.builder()
.color("color")
.build()))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.QuickSight;
var geospatialHeatmapColorScaleProperty = new GeospatialHeatmapColorScaleProperty {
Colors = new [] { new GeospatialHeatmapDataColorProperty {
Color = "color"
} }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
geospatialHeatmapColorScaleProperty := &GeospatialHeatmapColorScaleProperty{
Colors: []interface{}{
&GeospatialHeatmapDataColorProperty{
Color: jsii.String("color"),
},
},
}
Properties
colorsoptionalIResolvable | IResolvable | CfnAnalysis.GeospatialHeatmapDataColorProperty[]colorsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, GeospatialHeatmapDataColorProperty]]]colorsoptionalIResolvableColorsoptionalIResolvableColorsoptionalinterface{}#The list of colors to be used in heatmap point style.