interface ParameterControlProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnAnalysis.ParameterControlProperty |
Java | software.amazon.awscdk.services.quicksight.CfnAnalysis.ParameterControlProperty |
Python | aws_cdk.aws_quicksight.CfnAnalysis.ParameterControlProperty |
TypeScript | @aws-cdk/aws-quicksight » CfnAnalysis » ParameterControlProperty |
The control of a parameter that users can interact with in a dashboard or an analysis.
This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
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 parameterControlProperty: quicksight.CfnAnalysis.ParameterControlProperty = {
dateTimePicker: {
parameterControlId: 'parameterControlId',
sourceParameterName: 'sourceParameterName',
title: 'title',
// the properties below are optional
displayOptions: {
dateTimeFormat: 'dateTimeFormat',
titleOptions: {
customLabel: 'customLabel',
fontConfiguration: {
fontColor: 'fontColor',
fontDecoration: 'fontDecoration',
fontSize: {
relative: 'relative',
},
fontStyle: 'fontStyle',
fontWeight: {
name: 'name',
},
},
visibility: 'visibility',
},
},
},
dropdown: {
parameterControlId: 'parameterControlId',
sourceParameterName: 'sourceParameterName',
title: 'title',
// the properties below are optional
cascadingControlConfiguration: {
sourceControls: [{
columnToMatch: {
columnName: 'columnName',
dataSetIdentifier: 'dataSetIdentifier',
},
sourceSheetControlId: 'sourceSheetControlId',
}],
},
displayOptions: {
selectAllOptions: {
visibility: 'visibility',
},
titleOptions: {
customLabel: 'customLabel',
fontConfiguration: {
fontColor: 'fontColor',
fontDecoration: 'fontDecoration',
fontSize: {
relative: 'relative',
},
fontStyle: 'fontStyle',
fontWeight: {
name: 'name',
},
},
visibility: 'visibility',
},
},
selectableValues: {
linkToDataSetColumn: {
columnName: 'columnName',
dataSetIdentifier: 'dataSetIdentifier',
},
values: ['values'],
},
type: 'type',
},
list: {
parameterControlId: 'parameterControlId',
sourceParameterName: 'sourceParameterName',
title: 'title',
// the properties below are optional
cascadingControlConfiguration: {
sourceControls: [{
columnToMatch: {
columnName: 'columnName',
dataSetIdentifier: 'dataSetIdentifier',
},
sourceSheetControlId: 'sourceSheetControlId',
}],
},
displayOptions: {
searchOptions: {
visibility: 'visibility',
},
selectAllOptions: {
visibility: 'visibility',
},
titleOptions: {
customLabel: 'customLabel',
fontConfiguration: {
fontColor: 'fontColor',
fontDecoration: 'fontDecoration',
fontSize: {
relative: 'relative',
},
fontStyle: 'fontStyle',
fontWeight: {
name: 'name',
},
},
visibility: 'visibility',
},
},
selectableValues: {
linkToDataSetColumn: {
columnName: 'columnName',
dataSetIdentifier: 'dataSetIdentifier',
},
values: ['values'],
},
type: 'type',
},
slider: {
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',
},
},
},
textArea: {
parameterControlId: 'parameterControlId',
sourceParameterName: 'sourceParameterName',
title: 'title',
// the properties below are optional
delimiter: 'delimiter',
displayOptions: {
placeholderOptions: {
visibility: 'visibility',
},
titleOptions: {
customLabel: 'customLabel',
fontConfiguration: {
fontColor: 'fontColor',
fontDecoration: 'fontDecoration',
fontSize: {
relative: 'relative',
},
fontStyle: 'fontStyle',
fontWeight: {
name: 'name',
},
},
visibility: 'visibility',
},
},
},
textField: {
parameterControlId: 'parameterControlId',
sourceParameterName: 'sourceParameterName',
title: 'title',
// the properties below are optional
displayOptions: {
placeholderOptions: {
visibility: 'visibility',
},
titleOptions: {
customLabel: 'customLabel',
fontConfiguration: {
fontColor: 'fontColor',
fontDecoration: 'fontDecoration',
fontSize: {
relative: 'relative',
},
fontStyle: 'fontStyle',
fontWeight: {
name: 'name',
},
},
visibility: 'visibility',
},
},
},
};
Properties
Name | Type | Description |
---|---|---|
date | IResolvable | Parameter | A control from a date parameter that specifies date and time. |
dropdown? | IResolvable | Parameter | A control to display a dropdown list with buttons that are used to select a single value. |
list? | IResolvable | Parameter | A control to display a list with buttons or boxes that are used to select either a single value or multiple values. |
slider? | IResolvable | Parameter | A control to display a horizontal toggle bar. |
text | IResolvable | Parameter | A control to display a text box that is used to enter multiple entries. |
text | IResolvable | Parameter | A control to display a text box that is used to enter a single entry. |
dateTimePicker?
Type:
IResolvable
|
Parameter
(optional)
A control from a date parameter that specifies date and time.
dropdown?
Type:
IResolvable
|
Parameter
(optional)
A control to display a dropdown list with buttons that are used to select a single value.
list?
Type:
IResolvable
|
Parameter
(optional)
A control to display a list with buttons or boxes that are used to select either a single value or multiple values.
slider?
Type:
IResolvable
|
Parameter
(optional)
A control to display a horizontal toggle bar.
This is used to change a value by sliding the toggle.
textArea?
Type:
IResolvable
|
Parameter
(optional)
A control to display a text box that is used to enter multiple entries.
textField?
Type:
IResolvable
|
Parameter
(optional)
A control to display a text box that is used to enter a single entry.