# GeospatialSolidColorProperty

The definition for a solid color.

- 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 geospatialSolidColorProperty: quicksight.CfnAnalysis.GeospatialSolidColorProperty = {
  color: 'color',

  // the properties below are optional
  state: 'state',
};
```

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_solid_color_property = quicksight.CfnAnalysis.GeospatialSolidColorProperty(
    color="color",

    # the properties below are optional
    state="state"
)
```

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

GeospatialSolidColorProperty geospatialSolidColorProperty = GeospatialSolidColorProperty.builder()
        .color("color")

        // the properties below are optional
        .state("state")
        .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 geospatialSolidColorProperty = new GeospatialSolidColorProperty {
    Color = "color",

    // the properties below are optional
    State = "state"
};
```

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"

geospatialSolidColorProperty := &GeospatialSolidColorProperty{
	Color: jsii.String("color"),

	// the properties below are optional
	State: jsii.String("state"),
}
```

## Properties

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

- `state`: string — Enables and disables the view state of the color.
