[−][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 Clone for ContainerOverrides
[src]
pub fn clone(&self) -> ContainerOverrides
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ContainerOverrides
[src]
impl Default for ContainerOverrides
[src]
pub fn default() -> ContainerOverrides
[src]
impl PartialEq<ContainerOverrides> for ContainerOverrides
[src]
pub fn eq(&self, other: &ContainerOverrides) -> bool
[src]
pub fn ne(&self, other: &ContainerOverrides) -> bool
[src]
impl Serialize for ContainerOverrides
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for ContainerOverrides
[src]
Auto Trait Implementations
impl RefUnwindSafe for ContainerOverrides
[src]
impl Send for ContainerOverrides
[src]
impl Sync for ContainerOverrides
[src]
impl Unpin for ContainerOverrides
[src]
impl UnwindSafe for ContainerOverrides
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,