Skip to content
v2.278.0

DefaultSliderControlOptionsProperty Struct ​

The default options that correspond to the Slider filter control type.

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 defaultSliderControlOptionsProperty: quicksight.CfnTemplate.DefaultSliderControlOptionsProperty = {
  maximumValue: 123,
  minimumValue: 123,
  stepSize: 123,

  // 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',
    },
  },
  type: 'type',
};
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

default_slider_control_options_property = quicksight.CfnTemplate.DefaultSliderControlOptionsProperty(
    maximum_value=123,
    minimum_value=123,
    step_size=123,

    # the properties below are optional
    display_options=quicksight.CfnTemplate.SliderControlDisplayOptionsProperty(
        info_icon_label_options=quicksight.CfnTemplate.SheetControlInfoIconLabelOptionsProperty(
            info_icon_text="infoIconText",
            visibility="visibility"
        ),
        title_options=quicksight.CfnTemplate.LabelOptionsProperty(
            custom_label="customLabel",
            font_configuration=quicksight.CfnTemplate.FontConfigurationProperty(
                font_color="fontColor",
                font_decoration="fontDecoration",
                font_family="fontFamily",
                font_size=quicksight.CfnTemplate.FontSizeProperty(
                    absolute="absolute",
                    relative="relative"
                ),
                font_style="fontStyle",
                font_weight=quicksight.CfnTemplate.FontWeightProperty(
                    name="name"
                )
            ),
            visibility="visibility"
        )
    ),
    type="type"
)
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.*;

DefaultSliderControlOptionsProperty defaultSliderControlOptionsProperty = DefaultSliderControlOptionsProperty.builder()
        .maximumValue(123)
        .minimumValue(123)
        .stepSize(123)

        // the properties below are optional
        .displayOptions(SliderControlDisplayOptionsProperty.builder()
                .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder()
                        .infoIconText("infoIconText")
                        .visibility("visibility")
                        .build())
                .titleOptions(LabelOptionsProperty.builder()
                        .customLabel("customLabel")
                        .fontConfiguration(FontConfigurationProperty.builder()
                                .fontColor("fontColor")
                                .fontDecoration("fontDecoration")
                                .fontFamily("fontFamily")
                                .fontSize(FontSizeProperty.builder()
                                        .absolute("absolute")
                                        .relative("relative")
                                        .build())
                                .fontStyle("fontStyle")
                                .fontWeight(FontWeightProperty.builder()
                                        .name("name")
                                        .build())
                                .build())
                        .visibility("visibility")
                        .build())
                .build())
        .type("type")
        .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 defaultSliderControlOptionsProperty = new DefaultSliderControlOptionsProperty {
    MaximumValue = 123,
    MinimumValue = 123,
    StepSize = 123,

    // the properties below are optional
    DisplayOptions = new SliderControlDisplayOptionsProperty {
        InfoIconLabelOptions = new SheetControlInfoIconLabelOptionsProperty {
            InfoIconText = "infoIconText",
            Visibility = "visibility"
        },
        TitleOptions = new LabelOptionsProperty {
            CustomLabel = "customLabel",
            FontConfiguration = new FontConfigurationProperty {
                FontColor = "fontColor",
                FontDecoration = "fontDecoration",
                FontFamily = "fontFamily",
                FontSize = new FontSizeProperty {
                    Absolute = "absolute",
                    Relative = "relative"
                },
                FontStyle = "fontStyle",
                FontWeight = new FontWeightProperty {
                    Name = "name"
                }
            },
            Visibility = "visibility"
        }
    },
    Type = "type"
};
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"

defaultSliderControlOptionsProperty := &DefaultSliderControlOptionsProperty{
	MaximumValue: jsii.Number(123),
	MinimumValue: jsii.Number(123),
	StepSize: jsii.Number(123),

	// the properties below are optional
	DisplayOptions: &SliderControlDisplayOptionsProperty{
		InfoIconLabelOptions: &SheetControlInfoIconLabelOptionsProperty{
			InfoIconText: jsii.String("infoIconText"),
			Visibility: jsii.String("visibility"),
		},
		TitleOptions: &LabelOptionsProperty{
			CustomLabel: jsii.String("customLabel"),
			FontConfiguration: &FontConfigurationProperty{
				FontColor: jsii.String("fontColor"),
				FontDecoration: jsii.String("fontDecoration"),
				FontFamily: jsii.String("fontFamily"),
				FontSize: &FontSizeProperty{
					Absolute: jsii.String("absolute"),
					Relative: jsii.String("relative"),
				},
				FontStyle: jsii.String("fontStyle"),
				FontWeight: &FontWeightProperty{
					Name: jsii.String("name"),
				},
			},
			Visibility: jsii.String("visibility"),
		},
	},
	Type: jsii.String("type"),
}

Properties ​

displayOptionsoptionalIResolvable | CfnTemplate.SliderControlDisplayOptionsPropertydisplay_optionsoptionaltyping.Union[IResolvable, SliderControlDisplayOptionsProperty]displayOptionsoptionalIResolvableDisplayOptionsoptionalIResolvableDisplayOptionsoptionalinterface{} #
The display options of a control.
maximumValuenumbermaximum_valueint | floatmaximumValueNumberMaximumValuedoubleMaximumValue*float64 = 0 required #
The larger value that is displayed at the right of the slider.
minimumValuenumberminimum_valueint | floatminimumValueNumberMinimumValuedoubleMinimumValue*float64 = 0 required #
The smaller value that is displayed at the left of the slider.
stepSizenumberstep_sizeint | floatstepSizeNumberStepSizedoubleStepSize*float64 = 0 required #
The number of increments that the slider bar is divided into.
typeoptionalstringtypeoptionalstrtypeoptionalStringTypeoptionalstringTypeoptional*string #
The type of the `DefaultSliderControlOptions` . Choose one of the following options:.
  • SINGLE_POINT : Filter against(equals) a single data point.
  • RANGE : Filter data that is in a specified range.