interface ParameterSliderControlProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnTemplate.ParameterSliderControlProperty |
Java | software.amazon.awscdk.services.quicksight.CfnTemplate.ParameterSliderControlProperty |
Python | aws_cdk.aws_quicksight.CfnTemplate.ParameterSliderControlProperty |
TypeScript | @aws-cdk/aws-quicksight » CfnTemplate » ParameterSliderControlProperty |
A control to display a horizontal toggle bar.
This is used to change a value by sliding the toggle.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as quicksight from '@aws-cdk/aws-quicksight';
const parameterSliderControlProperty: quicksight.CfnTemplate.ParameterSliderControlProperty = {
maximumValue: 123,
minimumValue: 123,
parameterControlId: 'parameterControlId',
sourceParameterName: 'sourceParameterName',
stepSize: 123,
title: 'title',
// the properties below are optional
displayOptions: {
titleOptions: {
customLabel: 'customLabel',
fontConfiguration: {
fontColor: 'fontColor',
fontDecoration: 'fontDecoration',
fontSize: {
relative: 'relative',
},
fontStyle: 'fontStyle',
fontWeight: {
name: 'name',
},
},
visibility: 'visibility',
},
},
};
Properties
Name | Type | Description |
---|---|---|
maximum | number | The smaller value that is displayed at the left of the slider. |
minimum | number | The larger value that is displayed at the right of the slider. |
parameter | string | The ID of the ParameterSliderControl . |
source | string | The source parameter name of the ParameterSliderControl . |
step | number | The number of increments that the slider bar is divided into. |
title | string | The title of the ParameterSliderControl . |
display | IResolvable | Slider | The display options of a control. |
maximumValue
Type:
number
The smaller value that is displayed at the left of the slider.
minimumValue
Type:
number
The larger value that is displayed at the right of the slider.
parameterControlId
Type:
string
The ID of the ParameterSliderControl
.
sourceParameterName
Type:
string
The source parameter name of the ParameterSliderControl
.
stepSize
Type:
number
The number of increments that the slider bar is divided into.
title
Type:
string
The title of the ParameterSliderControl
.
displayOptions?
Type:
IResolvable
|
Slider
(optional)
The display options of a control.