Show / Hide Table of Contents

Class CfnJobDefinition.JobTimeoutProperty

An object that represents a job timeout configuration.

Inheritance
object
CfnJobDefinition.JobTimeoutProperty
Implements
CfnJobDefinition.IJobTimeoutProperty
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.Batch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnJobDefinition.JobTimeoutProperty : CfnJobDefinition.IJobTimeoutProperty
Syntax (vb)
Public Class CfnJobDefinition.JobTimeoutProperty Implements CfnJobDefinition.IJobTimeoutProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-jobtimeout.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.Batch;

             var jobTimeoutProperty = new JobTimeoutProperty {
                 AttemptDurationSeconds = 123
             };

Synopsis

Constructors

JobTimeoutProperty()

An object that represents a job timeout configuration.

Properties

AttemptDurationSeconds

The job timeout time (in seconds) that's measured from the job attempt's startedAt timestamp.

Constructors

JobTimeoutProperty()

An object that represents a job timeout configuration.

public JobTimeoutProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-jobtimeout.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.Batch;

             var jobTimeoutProperty = new JobTimeoutProperty {
                 AttemptDurationSeconds = 123
             };

Properties

AttemptDurationSeconds

The job timeout time (in seconds) that's measured from the job attempt's startedAt timestamp.

public double? AttemptDurationSeconds { get; set; }
Property Value

double?

Remarks

After this time passes, AWS Batch terminates your jobs if they aren't finished. The minimum value for the timeout is 60 seconds.

For array jobs, the timeout applies to the child jobs, not to the parent array job.

For multi-node parallel (MNP) jobs, the timeout applies to the whole job, not to the individual nodes.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-jobtimeout.html#cfn-batch-jobdefinition-jobtimeout-attemptdurationseconds

Implements

CfnJobDefinition.IJobTimeoutProperty
Back to top Generated by DocFX