Struct rusoto_ecs::ContainerOverride [] [src]

pub struct ContainerOverride {
    pub command: Option<Vec<String>>,
    pub cpu: Option<i64>,
    pub environment: Option<Vec<KeyValuePair>>,
    pub memory: Option<i64>,
    pub memory_reservation: Option<i64>,
    pub name: Option<String>,
}

The overrides that should be sent to a container.

Fields

The command to send to the container that overrides the default command from the Docker image or the task definition. You must also specify a container name.

The number of cpu units reserved for the container, instead of the default value from the task definition. You must also specify a container name.

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 task definition. You must also specify a container name.

The hard limit (in MiB) of memory to present to the container, instead of the default value from the task definition. If your container attempts to exceed the memory specified here, the container is killed. You must also specify a container name.

The soft limit (in MiB) of memory to reserve for the container, instead of the default value from the task definition. You must also specify a container name.

The name of the container that receives the override. This parameter is required if any override is specified.

Trait Implementations

impl Default for ContainerOverride
[src]

Returns the "default value" for a type. Read more

impl Debug for ContainerOverride
[src]

Formats the value using the given formatter.

impl Clone for ContainerOverride
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more