Skip to content
v2.274.0

GeospatialPolygonSymbolStyleProperty Struct ​

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 geospatialPolygonSymbolStyleProperty: quicksight.CfnTemplate.GeospatialPolygonSymbolStyleProperty = {
  fillColor: {
    categorical: {
      categoryDataColors: [{
        color: 'color',
        dataValue: 'dataValue',
      }],

      // the properties below are optional
      defaultOpacity: 123,
      nullDataSettings: {
        symbolStyle: {
          fillColor: 'fillColor',
          strokeColor: 'strokeColor',
          strokeWidth: 123,
        },
      },
      nullDataVisibility: 'nullDataVisibility',
    },
    gradient: {
      stepColors: [{
        color: 'color',
        dataValue: 123,
      }],

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

      // the properties below are optional
      state: 'state',
    },
  },
  strokeColor: {
    categorical: {
      categoryDataColors: [{
        color: 'color',
        dataValue: 'dataValue',
      }],

      // the properties below are optional
      defaultOpacity: 123,
      nullDataSettings: {
        symbolStyle: {
          fillColor: 'fillColor',
          strokeColor: 'strokeColor',
          strokeWidth: 123,
        },
      },
      nullDataVisibility: 'nullDataVisibility',
    },
    gradient: {
      stepColors: [{
        color: 'color',
        dataValue: 123,
      }],

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

      // the properties below are optional
      state: 'state',
    },
  },
  strokeWidth: {
    lineWidth: 123,
  },
};

Properties ​

fillColoroptionalIResolvable | CfnTemplate.GeospatialColorPropertyfill_coloroptionaltyping.Union[IResolvable, GeospatialColorProperty]fillColoroptionalIResolvableFillColoroptionalIResolvableFillColoroptionalinterface{}#
strokeColoroptionalIResolvable | CfnTemplate.GeospatialColorPropertystroke_coloroptionaltyping.Union[IResolvable, GeospatialColorProperty]strokeColoroptionalIResolvableStrokeColoroptionalIResolvableStrokeColoroptionalinterface{}#
strokeWidthoptionalIResolvable | CfnTemplate.GeospatialLineWidthPropertystroke_widthoptionaltyping.Union[IResolvable, GeospatialLineWidthProperty]strokeWidthoptionalIResolvableStrokeWidthoptionalIResolvableStrokeWidthoptionalinterface{}#