Skip to content
v2.273.0

ParameterSliderControlProperty Struct ​

A control to display a horizontal toggle bar.

This is used to change a value by sliding the toggle.

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 parameterSliderControlProperty: quicksight.CfnDashboard.ParameterSliderControlProperty = {
  maximumValue: 123,
  minimumValue: 123,
  parameterControlId: 'parameterControlId',
  sourceParameterName: 'sourceParameterName',
  stepSize: 123,
  title: 'title',

  // the properties below are optional
  displayOptions: {
    infoIconLabelOptions: {
      infoIconText: 'infoIconText',
      visibility: 'visibility',
    },
    titleOptions: {
      customLabel: 'customLabel',
      fontConfiguration: {
        fontColor: 'fontColor',
        fontDecoration: 'fontDecoration',
        fontFamily: 'fontFamily',
        fontSize: {
          absolute: 'absolute',
          relative: 'relative',
        },
        fontStyle: 'fontStyle',
        fontWeight: {
          name: 'name',
        },
      },
      visibility: 'visibility',
    },
  },
};

Properties ​

displayOptionsIResolvable | CfnDashboard.SliderControlDisplayOptionsPropertydisplay_optionstyping.Union[IResolvable, SliderControlDisplayOptionsProperty]displayOptionsIResolvableDisplayOptionsIResolvableDisplayOptionsinterface{}#
The display options of a control.
maximumValuenumbermaximum_valueint | floatmaximumValueNumberMaximumValuedoubleMaximumValue*float64= 0required#
The larger value that is displayed at the right of the slider.
minimumValuenumberminimum_valueint | floatminimumValueNumberMinimumValuedoubleMinimumValue*float64= 0required#
The smaller value that is displayed at the left of the slider.
parameterControlIdstringparameter_control_idstrparameterControlIdStringParameterControlIdstringParameterControlId*stringrequired#
The ID of the `ParameterSliderControl` .
sourceParameterNamestringsource_parameter_namestrsourceParameterNameStringSourceParameterNamestringSourceParameterName*stringrequired#
The source parameter name of the `ParameterSliderControl` .
stepSizenumberstep_sizeint | floatstepSizeNumberStepSizedoubleStepSize*float64= 0required#
The number of increments that the slider bar is divided into.
titlestringtitlestrtitleStringTitlestringTitle*stringrequired#
The title of the `ParameterSliderControl` .