Struct aws_sdk_ecs::types::Container
source · #[non_exhaustive]pub struct Container { /* private fields */ }Expand description
A Docker container that's part of a task.
Implementations§
source§impl Container
impl Container
sourcepub fn container_arn(&self) -> Option<&str>
pub fn container_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the container.
sourcepub fn image_digest(&self) -> Option<&str>
pub fn image_digest(&self) -> Option<&str>
The container image manifest digest.
sourcepub fn runtime_id(&self) -> Option<&str>
pub fn runtime_id(&self) -> Option<&str>
The ID of the Docker container.
sourcepub fn last_status(&self) -> Option<&str>
pub fn last_status(&self) -> Option<&str>
The last known status of the container.
sourcepub fn reason(&self) -> Option<&str>
pub fn reason(&self) -> Option<&str>
A short (255 max characters) human-readable string to provide additional details about a running or stopped container.
sourcepub fn network_bindings(&self) -> Option<&[NetworkBinding]>
pub fn network_bindings(&self) -> Option<&[NetworkBinding]>
The network bindings associated with the container.
sourcepub fn network_interfaces(&self) -> Option<&[NetworkInterface]>
pub fn network_interfaces(&self) -> Option<&[NetworkInterface]>
The network interfaces associated with the container.
sourcepub fn health_status(&self) -> Option<&HealthStatus>
pub fn health_status(&self) -> Option<&HealthStatus>
The health status of the container. If health checks aren't configured for this container in its task definition, then it reports the health status as UNKNOWN.
sourcepub fn managed_agents(&self) -> Option<&[ManagedAgent]>
pub fn managed_agents(&self) -> Option<&[ManagedAgent]>
The details of any Amazon ECS managed agents associated with the container.
sourcepub fn cpu(&self) -> Option<&str>
pub fn cpu(&self) -> Option<&str>
The number of CPU units set for the container. The value is 0 if no value was specified in the container definition when the task definition was registered.
sourcepub fn memory_reservation(&self) -> Option<&str>
pub fn memory_reservation(&self) -> Option<&str>
The soft limit (in MiB) of memory set for the container.