Struct rusoto_batch::ContainerOverrides
[−]
[src]
pub struct ContainerOverrides { pub command: Option<Vec<String>>, pub environment: Option<Vec<KeyValuePair>>, pub memory: Option<i64>, 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.
memory: Option<i64>
The number of MiB of memory reserved for the job. This value overrides the value set in the job definition.
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 Default for ContainerOverrides
[src]
fn default() -> ContainerOverrides
[src]
Returns the "default value" for a type. Read more
impl Debug for ContainerOverrides
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for ContainerOverrides
[src]
fn clone(&self) -> ContainerOverrides
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more