[−][src]Struct rusoto_batch::ContainerOverrides
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]
fn eq(&self, other: &ContainerOverrides) -> bool
[src]
fn ne(&self, other: &ContainerOverrides) -> bool
[src]
impl Default for ContainerOverrides
[src]
fn default() -> ContainerOverrides
[src]
impl Clone for ContainerOverrides
[src]
fn clone(&self) -> 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]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
impl<T> Erased for T
impl<T> Same for T
type Output = T
Should always be Self