SyncScheduleProperty Struct
Recurring schedule on which the connector automatically refreshes ingested content.
Exactly one frequency variant is set.
| 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_bedrock as bedrock } from 'aws-cdk-lib';
declare const daily: any;
declare const lastDayOfMonth: any;
const syncScheduleProperty: bedrock.CfnDataSource.SyncScheduleProperty = {
daily: daily,
monthly: {
dayOfMonth: {
dayNumber: 123,
lastDayOfMonth: lastDayOfMonth,
},
},
weekly: {
dayOfWeek: 'dayOfWeek',
},
};
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_bedrock as bedrock
# daily: Any
# last_day_of_month: Any
sync_schedule_property = bedrock.CfnDataSource.SyncScheduleProperty(
daily=daily,
monthly=bedrock.CfnDataSource.MonthlyScheduleProperty(
day_of_month=bedrock.CfnDataSource.DayOfMonthProperty(
day_number=123,
last_day_of_month=last_day_of_month
)
),
weekly=bedrock.CfnDataSource.WeeklyScheduleProperty(
day_of_week="dayOfWeek"
)
)
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.bedrock.*;
Object daily;
Object lastDayOfMonth;
SyncScheduleProperty syncScheduleProperty = SyncScheduleProperty.builder()
.daily(daily)
.monthly(MonthlyScheduleProperty.builder()
.dayOfMonth(DayOfMonthProperty.builder()
.dayNumber(123)
.lastDayOfMonth(lastDayOfMonth)
.build())
.build())
.weekly(WeeklyScheduleProperty.builder()
.dayOfWeek("dayOfWeek")
.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.Bedrock;
var daily;
var lastDayOfMonth;
var syncScheduleProperty = new SyncScheduleProperty {
Daily = daily,
Monthly = new MonthlyScheduleProperty {
DayOfMonth = new DayOfMonthProperty {
DayNumber = 123,
LastDayOfMonth = lastDayOfMonth
}
},
Weekly = new WeeklyScheduleProperty {
DayOfWeek = "dayOfWeek"
}
};
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"
var daily interface{}
var lastDayOfMonth interface{}
syncScheduleProperty := &SyncScheduleProperty{
Daily: daily,
Monthly: &MonthlyScheduleProperty{
DayOfMonth: &DayOfMonthProperty{
DayNumber: jsii.Number(123),
LastDayOfMonth: lastDayOfMonth,
},
},
Weekly: &WeeklyScheduleProperty{
DayOfWeek: jsii.String("dayOfWeek"),
},
}
Properties
A daily refresh.
The run time is system-chosen (off-peak) and not customer-configurable.
monthlyoptionalIResolvable | CfnDataSource.monthlyoptionaltyping.Union[IResolvable, MonthlyScheduleProperty]monthlyoptionalIResolvableMonthlyoptionalIResolvableMonthlyoptionalinterface{} #A monthly refresh on a specified day of the month.
weeklyoptionalIResolvable | CfnDataSource.weeklyoptionaltyping.Union[IResolvable, WeeklyScheduleProperty]weeklyoptionalIResolvableWeeklyoptionalIResolvableWeeklyoptionalinterface{} #A weekly refresh on a specified day of the week.