[][src]Struct rusoto_batch::ContainerOverrides

pub struct ContainerOverrides {
    pub command: Option<Vec<String>>,
    pub environment: Option<Vec<KeyValuePair>>,
    pub instance_type: Option<String>,
    pub memory: Option<i64>,
    pub resource_requirements: Option<Vec<ResourceRequirement>>,
    pub vcpus: Option<i64>,
}

The overrides that should be sent to a container.

Fields

command: Option<Vec<String>>

The command to send to the container that overrides the default command from the Docker image or the job definition.

environment: Option<Vec<KeyValuePair>>

The environment variables to send to the container. You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the job definition.

Environment variables must not start with AWS_BATCH; this naming convention is reserved for variables that are set by the AWS Batch service.

instance_type: Option<String>

The instance type to use for a multi-node parallel job. This parameter is not valid for single-node container jobs.

memory: Option<i64>

The number of MiB of memory reserved for the job. This value overrides the value set in the job definition.

resource_requirements: Option<Vec<ResourceRequirement>>

The type and amount of a resource to assign to a container. This value overrides the value set in the job definition. Currently, the only supported resource is GPU.

vcpus: Option<i64>

The number of vCPUs to reserve for the container. This value overrides the value set in the job definition.

Trait Implementations

impl PartialEq<ContainerOverrides> for ContainerOverrides[src]

impl Default for ContainerOverrides[src]

impl Clone for ContainerOverrides[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ContainerOverrides[src]

impl Serialize for ContainerOverrides[src]

Auto Trait Implementations

impl Send for ContainerOverrides

impl Sync for ContainerOverrides

Blanket Implementations

impl<T> From for T[src]

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self