-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnMonitoringSchedule_ScheduleConfigProperty.go
49 lines (46 loc) · 2 KB
/
CfnMonitoringSchedule_ScheduleConfigProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
package awssagemaker
// Configuration details about the monitoring schedule.
//
// 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"
//
// scheduleConfigProperty := &ScheduleConfigProperty{
// ScheduleExpression: jsii.String("scheduleExpression"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-scheduleconfig.html
//
type CfnMonitoringSchedule_ScheduleConfigProperty struct {
// A cron expression that describes details about the monitoring schedule.
//
// Currently the only supported cron expressions are:
//
// - If you want to set the job to start every hour, please use the following:
//
// `Hourly: cron(0 * ? * * *)`
// - If you want to start the job daily:
//
// `cron(0 [00-23] ? * * *)`
//
// For example, the following are valid cron expressions:
//
// - Daily at noon UTC: `cron(0 12 ? * * *)`
// - Daily at midnight UTC: `cron(0 0 ? * * *)`
//
// To support running every 6, 12 hours, the following are also supported:
//
// `cron(0 [00-23]/[01-24] ? * * *)`
//
// For example, the following are valid cron expressions:
//
// - Every 12 hours, starting at 5pm UTC: `cron(0 17/12 ? * * *)`
// - Every two hours starting at midnight: `cron(0 0/2 ? * * *)`
//
// > - Even though the cron expression is set to start at 5PM UTC, note that there could be a delay of 0-20 minutes from the actual requested time to run the execution.
// > - We recommend that if you would like a daily schedule, you do not provide this parameter. Amazon SageMaker will pick a time for running every day.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-scheduleconfig.html#cfn-sagemaker-monitoringschedule-scheduleconfig-scheduleexpression
//
ScheduleExpression *string `field:"required" json:"scheduleExpression" yaml:"scheduleExpression"`
}