Skip to content
v2.278.0

DateTimeDefaultValuesProperty Struct ​

The default values of the DateTimeParameterDeclaration .

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 dateTimeDefaultValuesProperty: quicksight.CfnAnalysis.DateTimeDefaultValuesProperty = {
  dynamicValue: {
    defaultValueColumn: {
      columnName: 'columnName',

      // the properties below are optional
      dataSetIdentifier: 'dataSetIdentifier',
      topicIdentifier: 'topicIdentifier',
    },

    // the properties below are optional
    groupNameColumn: {
      columnName: 'columnName',

      // the properties below are optional
      dataSetIdentifier: 'dataSetIdentifier',
      topicIdentifier: 'topicIdentifier',
    },
    userNameColumn: {
      columnName: 'columnName',

      // the properties below are optional
      dataSetIdentifier: 'dataSetIdentifier',
      topicIdentifier: 'topicIdentifier',
    },
  },
  rollingDate: {
    expression: 'expression',

    // the properties below are optional
    dataSetIdentifier: 'dataSetIdentifier',
  },
  staticValues: ['staticValues'],
};
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

date_time_default_values_property = quicksight.CfnAnalysis.DateTimeDefaultValuesProperty(
    dynamic_value=quicksight.CfnAnalysis.DynamicDefaultValueProperty(
        default_value_column=quicksight.CfnAnalysis.ColumnIdentifierProperty(
            column_name="columnName",

            # the properties below are optional
            data_set_identifier="dataSetIdentifier",
            topic_identifier="topicIdentifier"
        ),

        # the properties below are optional
        group_name_column=quicksight.CfnAnalysis.ColumnIdentifierProperty(
            column_name="columnName",

            # the properties below are optional
            data_set_identifier="dataSetIdentifier",
            topic_identifier="topicIdentifier"
        ),
        user_name_column=quicksight.CfnAnalysis.ColumnIdentifierProperty(
            column_name="columnName",

            # the properties below are optional
            data_set_identifier="dataSetIdentifier",
            topic_identifier="topicIdentifier"
        )
    ),
    rolling_date=quicksight.CfnAnalysis.RollingDateConfigurationProperty(
        expression="expression",

        # the properties below are optional
        data_set_identifier="dataSetIdentifier"
    ),
    static_values=["staticValues"]
)
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.*;

DateTimeDefaultValuesProperty dateTimeDefaultValuesProperty = DateTimeDefaultValuesProperty.builder()
        .dynamicValue(DynamicDefaultValueProperty.builder()
                .defaultValueColumn(ColumnIdentifierProperty.builder()
                        .columnName("columnName")

                        // the properties below are optional
                        .dataSetIdentifier("dataSetIdentifier")
                        .topicIdentifier("topicIdentifier")
                        .build())

                // the properties below are optional
                .groupNameColumn(ColumnIdentifierProperty.builder()
                        .columnName("columnName")

                        // the properties below are optional
                        .dataSetIdentifier("dataSetIdentifier")
                        .topicIdentifier("topicIdentifier")
                        .build())
                .userNameColumn(ColumnIdentifierProperty.builder()
                        .columnName("columnName")

                        // the properties below are optional
                        .dataSetIdentifier("dataSetIdentifier")
                        .topicIdentifier("topicIdentifier")
                        .build())
                .build())
        .rollingDate(RollingDateConfigurationProperty.builder()
                .expression("expression")

                // the properties below are optional
                .dataSetIdentifier("dataSetIdentifier")
                .build())
        .staticValues(List.of("staticValues"))
        .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 dateTimeDefaultValuesProperty = new DateTimeDefaultValuesProperty {
    DynamicValue = new DynamicDefaultValueProperty {
        DefaultValueColumn = new ColumnIdentifierProperty {
            ColumnName = "columnName",

            // the properties below are optional
            DataSetIdentifier = "dataSetIdentifier",
            TopicIdentifier = "topicIdentifier"
        },

        // the properties below are optional
        GroupNameColumn = new ColumnIdentifierProperty {
            ColumnName = "columnName",

            // the properties below are optional
            DataSetIdentifier = "dataSetIdentifier",
            TopicIdentifier = "topicIdentifier"
        },
        UserNameColumn = new ColumnIdentifierProperty {
            ColumnName = "columnName",

            // the properties below are optional
            DataSetIdentifier = "dataSetIdentifier",
            TopicIdentifier = "topicIdentifier"
        }
    },
    RollingDate = new RollingDateConfigurationProperty {
        Expression = "expression",

        // the properties below are optional
        DataSetIdentifier = "dataSetIdentifier"
    },
    StaticValues = new [] { "staticValues" }
};
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"

dateTimeDefaultValuesProperty := &DateTimeDefaultValuesProperty{
	DynamicValue: &DynamicDefaultValueProperty{
		DefaultValueColumn: &ColumnIdentifierProperty{
			ColumnName: jsii.String("columnName"),

			// the properties below are optional
			DataSetIdentifier: jsii.String("dataSetIdentifier"),
			TopicIdentifier: jsii.String("topicIdentifier"),
		},

		// the properties below are optional
		GroupNameColumn: &ColumnIdentifierProperty{
			ColumnName: jsii.String("columnName"),

			// the properties below are optional
			DataSetIdentifier: jsii.String("dataSetIdentifier"),
			TopicIdentifier: jsii.String("topicIdentifier"),
		},
		UserNameColumn: &ColumnIdentifierProperty{
			ColumnName: jsii.String("columnName"),

			// the properties below are optional
			DataSetIdentifier: jsii.String("dataSetIdentifier"),
			TopicIdentifier: jsii.String("topicIdentifier"),
		},
	},
	RollingDate: &RollingDateConfigurationProperty{
		Expression: jsii.String("expression"),

		// the properties below are optional
		DataSetIdentifier: jsii.String("dataSetIdentifier"),
	},
	StaticValues: []*string{
		jsii.String("staticValues"),
	},
}

Properties ​

dynamicValueoptionalIResolvable | CfnAnalysis.DynamicDefaultValuePropertydynamic_valueoptionaltyping.Union[IResolvable, DynamicDefaultValueProperty]dynamicValueoptionalIResolvableDynamicValueoptionalIResolvableDynamicValueoptionalinterface{} #
The dynamic value of the `DataTimeDefaultValues` .

Different defaults are displayed according to users, groups, and values mapping.

rollingDateoptionalIResolvable | CfnAnalysis.RollingDateConfigurationPropertyrolling_dateoptionaltyping.Union[IResolvable, RollingDateConfigurationProperty]rollingDateoptionalIResolvableRollingDateoptionalIResolvableRollingDateoptionalinterface{} #
The rolling date of the `DataTimeDefaultValues` .

The date is determined from the dataset based on input expression.

staticValuesoptionalstring[]static_valuesoptionaltyping.List[str]staticValuesoptionalList<String>StaticValuesoptionalstring[]StaticValuesoptional*[]*string #
The static values of the `DataTimeDefaultValues` .