ColorsConfigurationProperty Struct
The color configurations for a column.
| Source | |
|---|---|
| Type last changed |
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 colorsConfigurationProperty: quicksight.CfnAnalysis.ColorsConfigurationProperty = {
customColors: [{
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
colors_configuration_property = quicksight.CfnAnalysis.ColorsConfigurationProperty(
custom_colors=[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.*;
ColorsConfigurationProperty colorsConfigurationProperty = ColorsConfigurationProperty.builder()
.customColors(List.of(CustomColorProperty.builder()
.color("color")
// the properties below are optional
.fieldValue("fieldValue")
.specialValue("specialValue")
.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 colorsConfigurationProperty = new ColorsConfigurationProperty {
CustomColors = new [] { 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"
colorsConfigurationProperty := &ColorsConfigurationProperty{
CustomColors: []interface{}{
&CustomColorProperty{
Color: jsii.String("color"),
// the properties below are optional
FieldValue: jsii.String("fieldValue"),
SpecialValue: jsii.String("specialValue"),
},
},
}
Properties
customColorsoptionalIResolvable | IResolvable | CfnAnalysis.CustomColorProperty[]custom_colorsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, CustomColorProperty]]]customColorsoptionalIResolvableCustomColorsoptionalIResolvableCustomColorsoptionalinterface{} #A list of up to 50 custom colors.