pub struct ContainerDetail {Show 21 fields
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>>,
}Expand description
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§
Source§impl Clone for ContainerDetail
impl Clone for ContainerDetail
Source§fn clone(&self) -> ContainerDetail
fn clone(&self) -> ContainerDetail
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more