package awsquicksight // 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 "github.com/aws/aws-cdk-go/awscdk" // // filterRelativeDateTimeControlProperty := &FilterRelativeDateTimeControlProperty{ // FilterControlId: jsii.String("filterControlId"), // SourceFilterId: jsii.String("sourceFilterId"), // Title: jsii.String("title"), // // // the properties below are optional // DisplayOptions: &RelativeDateTimeControlDisplayOptionsProperty{ // DateTimeFormat: jsii.String("dateTimeFormat"), // TitleOptions: &LabelOptionsProperty{ // CustomLabel: jsii.String("customLabel"), // FontConfiguration: &FontConfigurationProperty{ // FontColor: jsii.String("fontColor"), // FontDecoration: jsii.String("fontDecoration"), // FontSize: &FontSizeProperty{ // Relative: jsii.String("relative"), // }, // FontStyle: jsii.String("fontStyle"), // FontWeight: &FontWeightProperty{ // Name: jsii.String("name"), // }, // }, // Visibility: jsii.String("visibility"), // }, // }, // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-filterrelativedatetimecontrol.html // type CfnTemplate_FilterRelativeDateTimeControlProperty struct { // The ID of the `FilterTextAreaControl` . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-filterrelativedatetimecontrol.html#cfn-quicksight-template-filterrelativedatetimecontrol-filtercontrolid // FilterControlId *string `field:"required" json:"filterControlId" yaml:"filterControlId"` // The source filter ID of the `FilterTextAreaControl` . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-filterrelativedatetimecontrol.html#cfn-quicksight-template-filterrelativedatetimecontrol-sourcefilterid // SourceFilterId *string `field:"required" json:"sourceFilterId" yaml:"sourceFilterId"` // The title of the `FilterTextAreaControl` . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-filterrelativedatetimecontrol.html#cfn-quicksight-template-filterrelativedatetimecontrol-title // Title *string `field:"required" json:"title" yaml:"title"` // The display options of a control. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-filterrelativedatetimecontrol.html#cfn-quicksight-template-filterrelativedatetimecontrol-displayoptions // DisplayOptions interface{} `field:"optional" json:"displayOptions" yaml:"displayOptions"` }