[][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 Clone for ContainerOverrides[src]

impl Debug for ContainerOverrides[src]

impl Default for ContainerOverrides[src]

impl PartialEq<ContainerOverrides> for ContainerOverrides[src]

impl Serialize for ContainerOverrides[src]

impl StructuralPartialEq for ContainerOverrides[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> 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.