using System.Collections.Generic; namespace Amazon.Lambda.CloudWatchEvents.ECSEvents { /// /// A Docker container that is part of a task. /// https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_Container.html /// public class Container { /// /// The Amazon Resource Name (ARN) of the container. /// public string ContainerArn { get; set; } /// /// The number of CPU units set for the container. The value will be 0 if no value was specified in the container definition when the task definition was registered. /// public string Cpu { get; set; } /// /// The exit code returned from the container. /// public int ExitCode { get; set; } /// /// The IDs of each GPU assigned to the container. /// public List GpuIds { get; set; } /// /// The health status of the container. If health checks are not configured for this container in its task definition, then it reports the health status as UNKNOWN. /// public string HealthStatus { get; set; } /// /// The image used for the container. /// public string Image { get; set; } /// /// The container image manifest digest. /// public string ImageDigest { get; set; } /// /// The last known status of the container. /// public string LastStatus { get; set; } /// /// The details of any Amazon ECS managed agents associated with the container. /// public List ManagedAgents { get; set; } /// /// The hard limit (in MiB) of memory set for the container. /// public string Memory { get; set; } /// /// The soft limit (in MiB) of memory set for the container. /// public string MemoryReservation { get; set; } /// /// The name of the container. /// public string Name { get; set; } /// /// The network bindings associated with the container. /// public List NetworkBindings { get; set; } /// /// The network interfaces associated with the container. /// public List NetworkInterfaces { get; set; } /// /// A short (255 max characters) human-readable string to provide additional details about a running or stopped container. /// public string Reason { get; set; } /// /// The ID of the Docker container. /// public string RuntimeId { get; set; } /// /// The ARN of the task. /// public string TaskArn { get; set; } } }