Show / Hide Table of Contents

Enum JobStateTimeLimitActionsState

The state of the job needed to trigger the action.

Namespace: Amazon.CDK.AWS.Batch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public enum JobStateTimeLimitActionsState
Syntax (vb)
Public Enum JobStateTimeLimitActionsState
Remarks

ExampleMetadata: infused

Examples
new JobQueue(this, "JobQueue", new JobQueueProps {
                JobStateTimeLimitActions = new [] { new JobStateTimeLimitAction {
                    Action = JobStateTimeLimitActionsAction.CANCEL,
                    MaxTime = Duration.Minutes(10),
                    Reason = JobStateTimeLimitActionsReason.INSUFFICIENT_INSTANCE_CAPACITY,
                    State = JobStateTimeLimitActionsState.RUNNABLE
                } }
            });

Synopsis

Fields

RUNNABLE

RUNNABLE state triggers the action.

Fields

Name Description
RUNNABLE

RUNNABLE state triggers the action.

Back to top Generated by DocFX