Skip to content
v2.278.0

ScheduleFrequencyProperty Struct ​

The frequency for the refresh schedule.

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 scheduleFrequencyProperty: quicksight.CfnRefreshSchedule.ScheduleFrequencyProperty = {
  interval: 'interval',
  refreshOnDay: {
    dayOfMonth: 'dayOfMonth',
    dayOfWeek: 'dayOfWeek',
  },
  timeOfTheDay: 'timeOfTheDay',
  timeZone: 'timeZone',
};
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

schedule_frequency_property = quicksight.CfnRefreshSchedule.ScheduleFrequencyProperty(
    interval="interval",
    refresh_on_day=quicksight.CfnRefreshSchedule.RefreshOnDayProperty(
        day_of_month="dayOfMonth",
        day_of_week="dayOfWeek"
    ),
    time_of_the_day="timeOfTheDay",
    time_zone="timeZone"
)
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.*;

ScheduleFrequencyProperty scheduleFrequencyProperty = ScheduleFrequencyProperty.builder()
        .interval("interval")
        .refreshOnDay(RefreshOnDayProperty.builder()
                .dayOfMonth("dayOfMonth")
                .dayOfWeek("dayOfWeek")
                .build())
        .timeOfTheDay("timeOfTheDay")
        .timeZone("timeZone")
        .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 scheduleFrequencyProperty = new ScheduleFrequencyProperty {
    Interval = "interval",
    RefreshOnDay = new RefreshOnDayProperty {
        DayOfMonth = "dayOfMonth",
        DayOfWeek = "dayOfWeek"
    },
    TimeOfTheDay = "timeOfTheDay",
    TimeZone = "timeZone"
};
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"

scheduleFrequencyProperty := &ScheduleFrequencyProperty{
	Interval: jsii.String("interval"),
	RefreshOnDay: &RefreshOnDayProperty{
		DayOfMonth: jsii.String("dayOfMonth"),
		DayOfWeek: jsii.String("dayOfWeek"),
	},
	TimeOfTheDay: jsii.String("timeOfTheDay"),
	TimeZone: jsii.String("timeZone"),
}

Properties ​

intervaloptionalstringintervaloptionalstrintervaloptionalStringIntervaloptionalstringIntervaloptional*string #
The interval between scheduled refreshes. Valid values are as follows:.
notes
  • MINUTE15 : The dataset refreshes every 15 minutes. This value is only supported for incremental refreshes. This interval can only be used for one schedule per dataset.
  • MINUTE30 : The dataset refreshes every 30 minutes. This value is only supported for incremental refreshes. This interval can only be used for one schedule per dataset.
  • HOURLY : The dataset refreshes every hour. This interval can only be used for one schedule per dataset.
  • DAILY : The dataset refreshes every day.
  • WEEKLY : The dataset refreshes every week.
  • MONTHLY : The dataset refreshes every month.
refreshOnDayoptionalIResolvable | CfnRefreshSchedule.RefreshOnDayPropertyrefresh_on_dayoptionaltyping.Union[IResolvable, RefreshOnDayProperty]refreshOnDayoptionalIResolvableRefreshOnDayoptionalIResolvableRefreshOnDayoptionalinterface{} #
The day of the week that you want to schedule the refresh on.

This value is required for weekly and monthly refresh intervals.

timeOfTheDayoptionalstringtime_of_the_dayoptionalstrtimeOfTheDayoptionalStringTimeOfTheDayoptionalstringTimeOfTheDayoptional*string #
The time of day that you want the dataset to refresh.

This value is expressed in HH:MM format. This field is not required for schedules that refresh hourly.

timeZoneoptionalstringtime_zoneoptionalstrtimeZoneoptionalStringTimeZoneoptionalstringTimeZoneoptional*string #
The timezone that you want the refresh schedule to use.

The timezone ID must match a corresponding ID found on java.util.time.getAvailableIDs() .