Struct rusoto_batch::CreateJobQueueRequest
source · [−]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
sourceimpl Clone for CreateJobQueueRequest
impl Clone for CreateJobQueueRequest
sourcefn clone(&self) -> CreateJobQueueRequest
fn clone(&self) -> CreateJobQueueRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateJobQueueRequest
impl Debug for CreateJobQueueRequest
sourceimpl Default for CreateJobQueueRequest
impl Default for CreateJobQueueRequest
sourcefn default() -> CreateJobQueueRequest
fn default() -> CreateJobQueueRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CreateJobQueueRequest> for CreateJobQueueRequest
impl PartialEq<CreateJobQueueRequest> for CreateJobQueueRequest
sourcefn eq(&self, other: &CreateJobQueueRequest) -> bool
fn eq(&self, other: &CreateJobQueueRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateJobQueueRequest) -> bool
fn ne(&self, other: &CreateJobQueueRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for CreateJobQueueRequest
impl Serialize for CreateJobQueueRequest
impl StructuralPartialEq for CreateJobQueueRequest
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more