Show / Hide Table of Contents

Class CfnProcessingJob.StoppingConditionProperty

Configures conditions under which the processing job should be stopped, such as how long the processing job has been running.

Inheritance
object
CfnProcessingJob.StoppingConditionProperty
Implements
CfnProcessingJob.IStoppingConditionProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnProcessingJob.StoppingConditionProperty : CfnProcessingJob.IStoppingConditionProperty
Syntax (vb)
Public Class CfnProcessingJob.StoppingConditionProperty Implements CfnProcessingJob.IStoppingConditionProperty
Remarks

After the condition is met, the processing job is stopped.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-stoppingcondition.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Sagemaker;

             var stoppingConditionProperty = new StoppingConditionProperty {
                 MaxRuntimeInSeconds = 123
             };

Synopsis

Constructors

StoppingConditionProperty()

Configures conditions under which the processing job should be stopped, such as how long the processing job has been running.

Properties

MaxRuntimeInSeconds

The maximum length of time, in seconds, that a training or compilation job can run before it is stopped.

Constructors

StoppingConditionProperty()

Configures conditions under which the processing job should be stopped, such as how long the processing job has been running.

public StoppingConditionProperty()
Remarks

After the condition is met, the processing job is stopped.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-stoppingcondition.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Sagemaker;

             var stoppingConditionProperty = new StoppingConditionProperty {
                 MaxRuntimeInSeconds = 123
             };

Properties

MaxRuntimeInSeconds

The maximum length of time, in seconds, that a training or compilation job can run before it is stopped.

public double MaxRuntimeInSeconds { get; set; }
Property Value

double

Remarks

For compilation jobs, if the job does not complete during this time, a TimeOut error is generated. We recommend starting with 900 seconds and increasing as necessary based on your model.

For all other jobs, if the job does not complete during this time, SageMaker ends the job. When RetryStrategy is specified in the job request, MaxRuntimeInSeconds specifies the maximum time for all of the attempts in total, not each individual attempt. The default value is 1 day. The maximum value is 28 days.

The maximum time that a TrainingJob can run in total, including any time spent publishing metrics or archiving and uploading models after it has been stopped, is 30 days.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-stoppingcondition.html#cfn-sagemaker-processingjob-stoppingcondition-maxruntimeinseconds

Implements

CfnProcessingJob.IStoppingConditionProperty
Back to top Generated by DocFX