MonthlyScheduleProperty Struct
A monthly refresh on a specified day of the month.
| 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 lastDayOfMonth: any;
const monthlyScheduleProperty: bedrock.CfnDataSource.MonthlyScheduleProperty = {
dayOfMonth: {
dayNumber: 123,
lastDayOfMonth: lastDayOfMonth,
},
};
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
# last_day_of_month: Any
monthly_schedule_property = bedrock.CfnDataSource.MonthlyScheduleProperty(
day_of_month=bedrock.CfnDataSource.DayOfMonthProperty(
day_number=123,
last_day_of_month=last_day_of_month
)
)
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 lastDayOfMonth;
MonthlyScheduleProperty monthlyScheduleProperty = MonthlyScheduleProperty.builder()
.dayOfMonth(DayOfMonthProperty.builder()
.dayNumber(123)
.lastDayOfMonth(lastDayOfMonth)
.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 lastDayOfMonth;
var monthlyScheduleProperty = new MonthlyScheduleProperty {
DayOfMonth = new DayOfMonthProperty {
DayNumber = 123,
LastDayOfMonth = lastDayOfMonth
}
};
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 lastDayOfMonth interface{}
monthlyScheduleProperty := &MonthlyScheduleProperty{
DayOfMonth: &DayOfMonthProperty{
DayNumber: jsii.Number(123),
LastDayOfMonth: lastDayOfMonth,
},
}
Properties
dayOfMonthIResolvable | CfnDataSource.DayOfMonthPropertyday_of_monthtyping.Union[IResolvable, DayOfMonthProperty]dayOfMonthIResolvableDayOfMonthIResolvableDayOfMonthinterface{} required #Day of the month on which a monthly refresh runs.
Exactly one variant is set: an explicit day number, or the last calendar day of the month.