Struct rusoto_batch::CreateJobQueueRequest [−][src]
pub struct CreateJobQueueRequest { pub compute_environment_order: Vec<ComputeEnvironmentOrder>, pub job_queue_name: String, pub priority: i64, pub state: Option<String>, pub tags: Option<HashMap<String, String>>, }
Expand description
Contains the parameters for CreateJobQueue
.
Fields
compute_environment_order: Vec<ComputeEnvironmentOrder>
The 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 should run a specific job. Compute environments must be in the VALID
state 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 (EC2
or SPOT
) or Fargate (FARGATE
or FARGATE_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.
job_queue_name: String
The name of the job queue. Up to 128 letters (uppercase and lowercase), numbers, and underscores are allowed.
priority: i64
The priority of the job queue. Job queues with a higher priority (or a higher integer value for the priority
parameter) 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 of 10
is given scheduling preference over a job queue with a priority value of 1
. All of the compute environments must be either EC2 (EC2
or SPOT
) or Fargate (FARGATE
or FARGATE_SPOT
); EC2 and Fargate compute environments cannot be mixed.
state: Option<String>
The state of the job queue. If the job queue state is ENABLED
, it is able to accept jobs. If the job queue state is DISABLED
, new jobs can't be added to the queue, but jobs already in the queue can finish.
The tags that you apply to the job queue to help you categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see Tagging your AWS Batch resources in AWS Batch User Guide.
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CreateJobQueueRequest
impl Send for CreateJobQueueRequest
impl Sync for CreateJobQueueRequest
impl Unpin for CreateJobQueueRequest
impl UnwindSafe for CreateJobQueueRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self