interface FilterRelativeDateTimeControlProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnDashboard.FilterRelativeDateTimeControlProperty |
Java | software.amazon.awscdk.services.quicksight.CfnDashboard.FilterRelativeDateTimeControlProperty |
Python | aws_cdk.aws_quicksight.CfnDashboard.FilterRelativeDateTimeControlProperty |
TypeScript | @aws-cdk/aws-quicksight » CfnDashboard » FilterRelativeDateTimeControlProperty |
A control from a date filter that is used to specify the relative date.
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 filterRelativeDateTimeControlProperty: quicksight.CfnDashboard.FilterRelativeDateTimeControlProperty = {
filterControlId: 'filterControlId',
sourceFilterId: 'sourceFilterId',
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',
},
},
};
Properties
Name | Type | Description |
---|---|---|
filter | string | The ID of the FilterTextAreaControl . |
source | string | The source filter ID of the FilterTextAreaControl . |
title | string | The title of the FilterTextAreaControl . |
display | IResolvable | Relative | The display options of a control. |
filterControlId
Type:
string
The ID of the FilterTextAreaControl
.
sourceFilterId
Type:
string
The source filter ID of the FilterTextAreaControl
.
title
Type:
string
The title of the FilterTextAreaControl
.
displayOptions?
Type:
IResolvable
|
Relative
(optional)
The display options of a control.