Skip to content
v2.278.0

GeospatialSolidColorProperty Struct ​

The definition for a solid color.

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

  // the properties below are optional
  state: 'state',
};
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
// 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();
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"
};
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 ​

colorstringcolorstrcolorStringColorstringColor*string required #
The color and opacity values for the color.
stateoptionalstringstateoptionalstrstateoptionalStringStateoptionalstringStateoptional*string #
Enables and disables the view state of the color.