# GeospatialGradientColorProperty

- Source: Generated code
- Type last changed: v2.272.0 · 30 Sep 2026

## 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 geospatialGradientColorProperty: quicksight.CfnTemplate.GeospatialGradientColorProperty = {
  stepColors: [{
    color: 'color',
    dataValue: 123,
  }],

  // the properties below are optional
  defaultOpacity: 123,
  nullDataSettings: {
    symbolStyle: {
      fillColor: 'fillColor',
      strokeColor: 'strokeColor',
      strokeWidth: 123,
    },
  },
  nullDataVisibility: 'nullDataVisibility',
};
```

## Properties

- `defaultOpacity`: number

- `nullDataSettings`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTemplate.GeospatialNullDataSettingsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnTemplate.GeospatialNullDataSettingsProperty.html)

- `nullDataVisibility`: string

- `stepColors`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTemplate.GeospatialGradientStepColorProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnTemplate.GeospatialGradientStepColorProperty.html)[] (required)
