# ColorsConfigurationProperty

The color configurations for 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 colorsConfigurationProperty: quicksight.CfnAnalysis.ColorsConfigurationProperty = {
  customColors: [{
    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

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:

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

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 colorsConfigurationProperty = new ColorsConfigurationProperty {
    CustomColors = new [] { 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"

colorsConfigurationProperty := &ColorsConfigurationProperty{
	CustomColors: []interface{}{
		&CustomColorProperty{
			Color: jsii.String("color"),

			// the properties below are optional
			FieldValue: jsii.String("fieldValue"),
			SpecialValue: jsii.String("specialValue"),
		},
	},
}
```

## Properties

- `customColors`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAnalysis.CustomColorProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnAnalysis.CustomColorProperty.html)[] — A list of up to 50 custom colors.
