[][src]Struct rusoto_batch::ContainerDetail

pub struct ContainerDetail {
    pub command: Option<Vec<String>>,
    pub container_instance_arn: Option<String>,
    pub environment: Option<Vec<KeyValuePair>>,
    pub exit_code: Option<i64>,
    pub image: Option<String>,
    pub instance_type: Option<String>,
    pub job_role_arn: Option<String>,
    pub linux_parameters: Option<LinuxParameters>,
    pub log_stream_name: Option<String>,
    pub memory: Option<i64>,
    pub mount_points: Option<Vec<MountPoint>>,
    pub network_interfaces: Option<Vec<NetworkInterface>>,
    pub privileged: Option<bool>,
    pub readonly_root_filesystem: Option<bool>,
    pub reason: Option<String>,
    pub resource_requirements: Option<Vec<ResourceRequirement>>,
    pub task_arn: Option<String>,
    pub ulimits: Option<Vec<Ulimit>>,
    pub user: Option<String>,
    pub vcpus: Option<i64>,
    pub volumes: Option<Vec<Volume>>,
}

An object representing the details of a container that is part of a job.

Fields

command: Option<Vec<String>>

The command that is passed to the container.

container_instance_arn: Option<String>

The Amazon Resource Name (ARN) of the container instance on which the container is running.

environment: Option<Vec<KeyValuePair>>

The environment variables to pass to a container.

Environment variables must not start with AWS_BATCH; this naming convention is reserved for variables that are set by the AWS Batch service.

exit_code: Option<i64>

The exit code to return upon completion.

image: Option<String>

The image used to start the container.

instance_type: Option<String>

The instance type of the underlying host infrastructure of a multi-node parallel job.

job_role_arn: Option<String>

The Amazon Resource Name (ARN) associated with the job upon execution.

linux_parameters: Option<LinuxParameters>

Linux-specific modifications that are applied to the container, such as details for device mappings.

log_stream_name: Option<String>

The name of the CloudWatch Logs log stream associated with the container. The log group for AWS Batch jobs is /aws/batch/job. Each container attempt receives a log stream name when they reach the RUNNING status.

memory: Option<i64>

The number of MiB of memory reserved for the job.

mount_points: Option<Vec<MountPoint>>

The mount points for data volumes in your container.

network_interfaces: Option<Vec<NetworkInterface>>

The network interfaces associated with the job.

privileged: Option<bool>

When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user).

readonly_root_filesystem: Option<bool>

When this parameter is true, the container is given read-only access to its root file system.

reason: Option<String>

A short (255 max characters) human-readable string to provide additional details about a running or stopped container.

resource_requirements: Option<Vec<ResourceRequirement>>

The type and amount of a resource to assign to a container. Currently, the only supported resource is GPU.

task_arn: Option<String>

The Amazon Resource Name (ARN) of the Amazon ECS task that is associated with the container job. Each container attempt receives a task ARN when they reach the STARTING status.

ulimits: Option<Vec<Ulimit>>

A list of ulimit values to set in the container.

user: Option<String>

The user name to use inside the container.

vcpus: Option<i64>

The number of VCPUs allocated for the job.

volumes: Option<Vec<Volume>>

A list of volumes associated with the job.

Trait Implementations

impl Clone for ContainerDetail[src]

impl Debug for ContainerDetail[src]

impl Default for ContainerDetail[src]

impl<'de> Deserialize<'de> for ContainerDetail[src]

impl PartialEq<ContainerDetail> for ContainerDetail[src]

impl StructuralPartialEq for ContainerDetail[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.