[][src]Struct rusoto_batch::JobDefinition

pub struct JobDefinition {
    pub container_properties: Option<ContainerProperties>,
    pub job_definition_arn: String,
    pub job_definition_name: String,
    pub node_properties: Option<NodeProperties>,
    pub parameters: Option<HashMap<String, String>>,
    pub retry_strategy: Option<RetryStrategy>,
    pub revision: i64,
    pub status: Option<String>,
    pub timeout: Option<JobTimeout>,
    pub type_: String,
}

An object representing an AWS Batch job definition.

Fields

container_properties: Option<ContainerProperties>

An object with various properties specific to container-based jobs.

job_definition_arn: String

The Amazon Resource Name (ARN) for the job definition.

job_definition_name: String

The name of the job definition.

node_properties: Option<NodeProperties>

An object with various properties specific to multi-node parallel jobs.

parameters: Option<HashMap<String, String>>

Default parameters or parameter substitution placeholders that are set in the job definition. Parameters are specified as a key-value pair mapping. Parameters in a SubmitJob request override any corresponding parameter defaults from the job definition. For more information about specifying parameters, see Job Definition Parameters in the AWS Batch User Guide.

retry_strategy: Option<RetryStrategy>

The retry strategy to use for failed jobs that are submitted with this job definition.

revision: i64

The revision of the job definition.

status: Option<String>

The status of the job definition.

timeout: Option<JobTimeout>

The timeout configuration for jobs that are submitted with this job definition. You can specify a timeout duration after which AWS Batch terminates your jobs if they have not finished.

type_: String

The type of job definition.

Trait Implementations

impl Clone for JobDefinition[src]

impl Debug for JobDefinition[src]

impl Default for JobDefinition[src]

impl<'de> Deserialize<'de> for JobDefinition[src]

impl PartialEq<JobDefinition> for JobDefinition[src]

impl StructuralPartialEq for JobDefinition[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.