# GeospatialLayerColorFieldProperty

The color field that defines a gradient or categorical style.

- Source: Generated at build time
- Type last changed: v2.174.0 · 4 Jan 2025

## Example

TypeScript:

```ts
// The generated example for this type would exceed 500 lines,
// and has been elided for readability.
```

Python:

```python

```

Java:

```java

```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib

```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2

```

## Properties

- `colorDimensionsFields`: [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.DimensionFieldProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnAnalysis.DimensionFieldProperty.html)[] — A list of color dimension fields.

- `colorValuesFields`: [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.MeasureFieldProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnAnalysis.MeasureFieldProperty.html)[] — A list of color measure fields.
