# DefaultRelativeDateTimeControlOptionsProperty

The default options that correspond to the `RelativeDateTime` filter control type.

- Source: Generated code
- Type last changed: v2.161.0 · 4 Oct 2024

## 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 defaultRelativeDateTimeControlOptionsProperty: quicksight.CfnDashboard.DefaultRelativeDateTimeControlOptionsProperty = {
  commitMode: 'commitMode',
  displayOptions: {
    dateTimeFormat: 'dateTimeFormat',
    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

- `commitMode`: string — The visibility configuration of the Apply button on a `RelativeDateTimeControl` .

- `displayOptions`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDashboard.RelativeDateTimeControlDisplayOptionsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnDashboard.RelativeDateTimeControlDisplayOptionsProperty.html) — The display options of a control.
