CustomColorProperty Struct
Determines the color that's applied to a particular data value in a column.
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 customColorProperty: quicksight.CfnAnalysis.CustomColorProperty = {
color: 'color',
// the properties below are optional
fieldValue: 'fieldValue',
specialValue: 'specialValue',
};
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
custom_color_property = quicksight.CfnAnalysis.CustomColorProperty(
color="color",
# the properties below are optional
field_value="fieldValue",
special_value="specialValue"
)
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.*;
CustomColorProperty customColorProperty = CustomColorProperty.builder()
.color("color")
// the properties below are optional
.fieldValue("fieldValue")
.specialValue("specialValue")
.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 customColorProperty = new CustomColorProperty {
Color = "color",
// the properties below are optional
FieldValue = "fieldValue",
SpecialValue = "specialValue"
};
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"
customColorProperty := &CustomColorProperty{
Color: jsii.String("color"),
// the properties below are optional
FieldValue: jsii.String("fieldValue"),
SpecialValue: jsii.String("specialValue"),
}
Properties
The color that is applied to the data value.
fieldValueoptionalstringfield_valueoptionalstrfieldValueoptionalStringFieldValueoptionalstringFieldValueoptional*string#The data value that the color is applied to.
specialValueoptionalstringspecial_valueoptionalstrspecialValueoptionalStringSpecialValueoptionalstringSpecialValueoptional*string#The value of a special data value.