# CustomColorProperty

Determines the color that's applied to a particular data value in a column.

- Source: Generated at build time
- Type last changed: v2.95.0 · 7 Sep 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `color`: string (required) — The color that is applied to the data value.

- `fieldValue`: string — The data value that the color is applied to.

- `specialValue`: string — The value of a special data value.
