Show / Hide Table of Contents

Enum JobStateTimeLimitActionsReason

The reason to log for the action being taken.

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

See: https://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html#job_stuck_in_runnable

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

COMPUTE_ENVIRONMENT_MAX_RESOURCE

All compute environments have a maxvCpus parameter that is smaller than the job requirements.

INSUFFICIENT_INSTANCE_CAPACITY

All connected compute environments have insufficient capacity errors.

JOB_RESOURCE_REQUIREMENT

None of the compute environments have instances that meet the job requirements.

Fields

Name Description
COMPUTE_ENVIRONMENT_MAX_RESOURCE

All compute environments have a maxvCpus parameter that is smaller than the job requirements.

INSUFFICIENT_INSTANCE_CAPACITY

All connected compute environments have insufficient capacity errors.

JOB_RESOURCE_REQUIREMENT

None of the compute environments have instances that meet the job requirements.

Back to top Generated by DocFX