Class CfnJobQueueProps.Jsii$Proxy
- All Implemented Interfaces:
CfnJobQueueProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnJobQueueProps
CfnJobQueueProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.batch.CfnJobQueueProps
CfnJobQueueProps.Builder, CfnJobQueueProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnJobQueueProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnJobQueueProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal ObjectThe set of compute environments mapped to a job queue and their order relative to each other.final StringThe name of the job queue.final StringThe type of job queue.final ObjectThe set of actions that AWS Batch perform on jobs that remain at the head of the job queue in the specified state longer than specified times.final NumberThe priority of the job queue.final ObjectThe Amazon Resource Name (ARN) of the scheduling policy.final ObjectThe order of the service environment associated with the job queue.final StringgetState()The state of the job queue.getTags()The tags that are applied to the job queue.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnJobQueueProps.Builder.
-
-
Method Details
-
getPriority
Description copied from interface:CfnJobQueuePropsThe priority of the job queue.Job queues with a higher priority (or a higher integer value for the
priorityparameter) are evaluated first when associated with the same compute environment. Priority is determined in descending order. For example, a job queue with a priority value of10is given scheduling preference over a job queue with a priority value of1. All of the compute environments must be either EC2 (EC2orSPOT) or Fargate (FARGATEorFARGATE_SPOT); EC2 and Fargate compute environments can't be mixed.- Specified by:
getPriorityin interfaceCfnJobQueueProps- See Also:
-
getComputeEnvironmentOrder
Description copied from interface:CfnJobQueuePropsThe set of compute environments mapped to a job queue and their order relative to each other.The job scheduler uses this parameter to determine which compute environment runs a specific job. Compute environments must be in the
VALIDstate before you can associate them with a job queue. You can associate up to three compute environments with a job queue. All of the compute environments must be either EC2 (EC2orSPOT) or Fargate (FARGATEorFARGATE_SPOT); EC2 and Fargate compute environments can't be mixed.All compute environments that are associated with a job queue must share the same architecture. AWS Batch doesn't support mixing compute environment architecture types in a single job queue.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnJobQueue.ComputeEnvironmentOrderProperty>- Specified by:
getComputeEnvironmentOrderin interfaceCfnJobQueueProps- See Also:
-
getJobQueueName
Description copied from interface:CfnJobQueuePropsThe name of the job queue.It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- Specified by:
getJobQueueNamein interfaceCfnJobQueueProps- See Also:
-
getJobQueueType
Description copied from interface:CfnJobQueuePropsThe type of job queue.For service jobs that run on SageMaker AI , this value is
SAGEMAKER_TRAINING. For regular container jobs, this value isEKS,ECS, orECS_FARGATEdepending on the compute environment.- Specified by:
getJobQueueTypein interfaceCfnJobQueueProps- See Also:
-
getJobStateTimeLimitActions
Description copied from interface:CfnJobQueuePropsThe set of actions that AWS Batch perform on jobs that remain at the head of the job queue in the specified state longer than specified times.AWS Batch will perform each action after
maxTimeSecondshas passed.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnJobQueue.JobStateTimeLimitActionProperty>- Specified by:
getJobStateTimeLimitActionsin interfaceCfnJobQueueProps- See Also:
-
getSchedulingPolicyArn
Description copied from interface:CfnJobQueuePropsThe Amazon Resource Name (ARN) of the scheduling policy.The format is
aws: *Partition* :batch: *Region* : *Account* :scheduling-policy/ *Name*. For example,aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy.Returns union: either
StringorISchedulingPolicyRef- Specified by:
getSchedulingPolicyArnin interfaceCfnJobQueueProps- See Also:
-
getServiceEnvironmentOrder
Description copied from interface:CfnJobQueuePropsThe order of the service environment associated with the job queue.Job queues with a higher priority are evaluated first when associated with the same service environment.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnJobQueue.ServiceEnvironmentOrderProperty>- Specified by:
getServiceEnvironmentOrderin interfaceCfnJobQueueProps- See Also:
-
getState
Description copied from interface:CfnJobQueuePropsThe state of the job queue.If the job queue state is
ENABLED, it is able to accept jobs. If the job queue state isDISABLED, new jobs can't be added to the queue, but jobs already in the queue can finish.- Specified by:
getStatein interfaceCfnJobQueueProps- See Also:
-
getTags
Description copied from interface:CfnJobQueuePropsThe tags that are applied to the job queue.For more information, see Tagging your AWS Batch resources in AWS Batch User Guide .
- Specified by:
getTagsin interfaceCfnJobQueueProps- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-