# GeospatialGradientStepColorProperty

The gradient step color for a single step.

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

## 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 geospatialGradientStepColorProperty: quicksight.CfnAnalysis.GeospatialGradientStepColorProperty = {
  color: 'color',
  dataValue: 123,
};
```

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

geospatial_gradient_step_color_property = quicksight.CfnAnalysis.GeospatialGradientStepColorProperty(
    color="color",
    data_value=123
)
```

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.*;

GeospatialGradientStepColorProperty geospatialGradientStepColorProperty = GeospatialGradientStepColorProperty.builder()
        .color("color")
        .dataValue(123)
        .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 geospatialGradientStepColorProperty = new GeospatialGradientStepColorProperty {
    Color = "color",
    DataValue = 123
};
```

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"

geospatialGradientStepColorProperty := &GeospatialGradientStepColorProperty{
	Color: jsii.String("color"),
	DataValue: jsii.Number(123),
}
```

## Properties

- `color`: string (required) — The color and opacity values for the gradient step color.

- `dataValue`: number (required) = 0 — The data value for the gradient step color.
