/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the sagemaker-2017-07-24.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.SageMaker.Model
{
///
/// Configuration details about the monitoring schedule.
///
public partial class ScheduleConfig
{
private string _scheduleExpression;
///
/// Gets and sets the property ScheduleExpression.
///
/// 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.
///
///
///
[AWSProperty(Required=true, Min=1, Max=256)]
public string ScheduleExpression
{
get { return this._scheduleExpression; }
set { this._scheduleExpression = value; }
}
// Check to see if ScheduleExpression property is set
internal bool IsSetScheduleExpression()
{
return this._scheduleExpression != null;
}
}
}