

This is the new *Amazon CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [Amazon CloudFormation User Guide](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::QuickSight::Dashboard GeospatialLayerColorField
<a name="aws-properties-quicksight-dashboard-geospatiallayercolorfield"></a>

The color field that defines a gradient or categorical style.

## Syntax
<a name="aws-properties-quicksight-dashboard-geospatiallayercolorfield-syntax"></a>

To declare this entity in your Amazon CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-quicksight-dashboard-geospatiallayercolorfield-syntax.json"></a>

```
{
  "[ColorDimensionsFields](#cfn-quicksight-dashboard-geospatiallayercolorfield-colordimensionsfields)" : {{[ DimensionField, ... ]}},
  "[ColorValuesFields](#cfn-quicksight-dashboard-geospatiallayercolorfield-colorvaluesfields)" : {{[ MeasureField, ... ]}}
}
```

### YAML
<a name="aws-properties-quicksight-dashboard-geospatiallayercolorfield-syntax.yaml"></a>

```
  [ColorDimensionsFields](#cfn-quicksight-dashboard-geospatiallayercolorfield-colordimensionsfields): {{
    - DimensionField}}
  [ColorValuesFields](#cfn-quicksight-dashboard-geospatiallayercolorfield-colorvaluesfields): {{
    - MeasureField}}
```

## Properties
<a name="aws-properties-quicksight-dashboard-geospatiallayercolorfield-properties"></a>

`ColorDimensionsFields`  <a name="cfn-quicksight-dashboard-geospatiallayercolorfield-colordimensionsfields"></a>
A list of color dimension fields.  
*Required*: No  
*Type*: Array of [DimensionField](aws-properties-quicksight-dashboard-dimensionfield.md)  
*Minimum*: `0`  
*Maximum*: `1`  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ColorValuesFields`  <a name="cfn-quicksight-dashboard-geospatiallayercolorfield-colorvaluesfields"></a>
A list of color measure fields.  
*Required*: No  
*Type*: Array of [MeasureField](aws-properties-quicksight-dashboard-measurefield.md)  
*Minimum*: `0`  
*Maximum*: `1`  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)