CfnRefreshScheduleProps Struct
Properties for defining a CfnRefreshSchedule.
| Source | |
|---|---|
| Type last changed |
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 cfnRefreshScheduleProps: quicksight.CfnRefreshScheduleProps = {
awsAccountId: 'awsAccountId',
dataSetId: 'dataSetId',
schedule: {
refreshType: 'refreshType',
scheduleFrequency: {
interval: 'interval',
refreshOnDay: {
dayOfMonth: 'dayOfMonth',
dayOfWeek: 'dayOfWeek',
},
timeOfTheDay: 'timeOfTheDay',
timeZone: 'timeZone',
},
scheduleId: 'scheduleId',
startAfterDateTime: 'startAfterDateTime',
},
};
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
cfn_refresh_schedule_props = quicksight.CfnRefreshScheduleProps(
aws_account_id="awsAccountId",
data_set_id="dataSetId",
schedule=quicksight.CfnRefreshSchedule.RefreshScheduleMapProperty(
refresh_type="refreshType",
schedule_frequency=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"
),
schedule_id="scheduleId",
start_after_date_time="startAfterDateTime"
)
)
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.*;
CfnRefreshScheduleProps cfnRefreshScheduleProps = CfnRefreshScheduleProps.builder()
.awsAccountId("awsAccountId")
.dataSetId("dataSetId")
.schedule(RefreshScheduleMapProperty.builder()
.refreshType("refreshType")
.scheduleFrequency(ScheduleFrequencyProperty.builder()
.interval("interval")
.refreshOnDay(RefreshOnDayProperty.builder()
.dayOfMonth("dayOfMonth")
.dayOfWeek("dayOfWeek")
.build())
.timeOfTheDay("timeOfTheDay")
.timeZone("timeZone")
.build())
.scheduleId("scheduleId")
.startAfterDateTime("startAfterDateTime")
.build())
.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 cfnRefreshScheduleProps = new CfnRefreshScheduleProps {
AwsAccountId = "awsAccountId",
DataSetId = "dataSetId",
Schedule = new RefreshScheduleMapProperty {
RefreshType = "refreshType",
ScheduleFrequency = new ScheduleFrequencyProperty {
Interval = "interval",
RefreshOnDay = new RefreshOnDayProperty {
DayOfMonth = "dayOfMonth",
DayOfWeek = "dayOfWeek"
},
TimeOfTheDay = "timeOfTheDay",
TimeZone = "timeZone"
},
ScheduleId = "scheduleId",
StartAfterDateTime = "startAfterDateTime"
}
};
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"
cfnRefreshScheduleProps := &CfnRefreshScheduleProps{
AwsAccountId: jsii.String("awsAccountId"),
DataSetId: jsii.String("dataSetId"),
Schedule: &RefreshScheduleMapProperty{
RefreshType: jsii.String("refreshType"),
ScheduleFrequency: &ScheduleFrequencyProperty{
Interval: jsii.String("interval"),
RefreshOnDay: &RefreshOnDayProperty{
DayOfMonth: jsii.String("dayOfMonth"),
DayOfWeek: jsii.String("dayOfWeek"),
},
TimeOfTheDay: jsii.String("timeOfTheDay"),
TimeZone: jsii.String("timeZone"),
},
ScheduleId: jsii.String("scheduleId"),
StartAfterDateTime: jsii.String("startAfterDateTime"),
},
}
Properties
awsAccountIdoptionalstringaws_account_idoptionalstrawsAccountIdoptionalStringAwsAccountIdoptionalstringAwsAccountIdoptional*string #The AWS account ID of the account that you are creating a schedule in.
dataSetIdoptionalstringdata_set_idoptionalstrdataSetIdoptionalStringDataSetIdoptionalstringDataSetIdoptional*string #The ID of the dataset that you are creating a refresh schedule for.
scheduleoptionalIResolvable | CfnRefreshSchedule.scheduleoptionaltyping.Union[IResolvable, RefreshScheduleMapProperty]scheduleoptionalIResolvableScheduleoptionalIResolvableScheduleoptionalinterface{} #The refresh schedule of a dataset.