# ParameterDateTimePickerControlProperty

A control from a date parameter that specifies date and time.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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 parameterDateTimePickerControlProperty: quicksight.CfnAnalysis.ParameterDateTimePickerControlProperty = {
  parameterControlId: 'parameterControlId',
  sourceParameterName: 'sourceParameterName',
  title: 'title',

  // the properties below are optional
  displayOptions: {
    dateIconVisibility: 'dateIconVisibility',
    dateTimeFormat: 'dateTimeFormat',
    helperTextVisibility: 'helperTextVisibility',
    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',
    },
  },
};
```

Python:

```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

parameter_date_time_picker_control_property = quicksight.CfnAnalysis.ParameterDateTimePickerControlProperty(
    parameter_control_id="parameterControlId",
    source_parameter_name="sourceParameterName",
    title="title",

    # the properties below are optional
    display_options=quicksight.CfnAnalysis.DateTimePickerControlDisplayOptionsProperty(
        date_icon_visibility="dateIconVisibility",
        date_time_format="dateTimeFormat",
        helper_text_visibility="helperTextVisibility",
        info_icon_label_options=quicksight.CfnAnalysis.SheetControlInfoIconLabelOptionsProperty(
            info_icon_text="infoIconText",
            visibility="visibility"
        ),
        title_options=quicksight.CfnAnalysis.LabelOptionsProperty(
            custom_label="customLabel",
            font_configuration=quicksight.CfnAnalysis.FontConfigurationProperty(
                font_color="fontColor",
                font_decoration="fontDecoration",
                font_family="fontFamily",
                font_size=quicksight.CfnAnalysis.FontSizeProperty(
                    absolute="absolute",
                    relative="relative"
                ),
                font_style="fontStyle",
                font_weight=quicksight.CfnAnalysis.FontWeightProperty(
                    name="name"
                )
            ),
            visibility="visibility"
        )
    )
)
```

Java:

```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.*;

ParameterDateTimePickerControlProperty parameterDateTimePickerControlProperty = ParameterDateTimePickerControlProperty.builder()
        .parameterControlId("parameterControlId")
        .sourceParameterName("sourceParameterName")
        .title("title")

        // the properties below are optional
        .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder()
                .dateIconVisibility("dateIconVisibility")
                .dateTimeFormat("dateTimeFormat")
                .helperTextVisibility("helperTextVisibility")
                .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())
        .build();
```

C# / .NET:

```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 parameterDateTimePickerControlProperty = new ParameterDateTimePickerControlProperty {
    ParameterControlId = "parameterControlId",
    SourceParameterName = "sourceParameterName",
    Title = "title",

    // the properties below are optional
    DisplayOptions = new DateTimePickerControlDisplayOptionsProperty {
        DateIconVisibility = "dateIconVisibility",
        DateTimeFormat = "dateTimeFormat",
        HelperTextVisibility = "helperTextVisibility",
        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"
        }
    }
};
```

Golang:

```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"

parameterDateTimePickerControlProperty := &ParameterDateTimePickerControlProperty{
	ParameterControlId: jsii.String("parameterControlId"),
	SourceParameterName: jsii.String("sourceParameterName"),
	Title: jsii.String("title"),

	// the properties below are optional
	DisplayOptions: &DateTimePickerControlDisplayOptionsProperty{
		DateIconVisibility: jsii.String("dateIconVisibility"),
		DateTimeFormat: jsii.String("dateTimeFormat"),
		HelperTextVisibility: jsii.String("helperTextVisibility"),
		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"),
		},
	},
}
```

## Properties

- `displayOptions`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAnalysis.DateTimePickerControlDisplayOptionsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnAnalysis.DateTimePickerControlDisplayOptionsProperty.html) — The display options of a control.

- `parameterControlId`: string (required) — The ID of the `ParameterDateTimePickerControl` .

- `sourceParameterName`: string (required) — The name of the `ParameterDateTimePickerControl` .

- `title`: string (required) — The title of the `ParameterDateTimePickerControl` .
