Container

public struct Container : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The Amazon Resource Name (ARN) of the container.

    Declaration

    Swift

    public let containerArn: String?
  • cpu

    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.

    Declaration

    Swift

    public let cpu: String?
  • The exit code returned from the container.

    Declaration

    Swift

    public let exitCode: Int?
  • The IDs of each GPU assigned to the container.

    Declaration

    Swift

    public let gpuIds: [String]?
  • 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.

    Declaration

    Swift

    public let healthStatus: HealthStatus?
  • The image used for the container.

    Declaration

    Swift

    public let image: String?
  • The container image manifest digest. The imageDigest is only returned if the container is using an image hosted in Amazon ECR, otherwise it is omitted.

    Declaration

    Swift

    public let imageDigest: String?
  • The last known status of the container.

    Declaration

    Swift

    public let lastStatus: String?
  • The hard limit (in MiB) of memory set for the container.

    Declaration

    Swift

    public let memory: String?
  • The soft limit (in MiB) of memory set for the container.

    Declaration

    Swift

    public let memoryReservation: String?
  • The name of the container.

    Declaration

    Swift

    public let name: String?
  • The network bindings associated with the container.

    Declaration

    Swift

    public let networkBindings: [NetworkBinding]?
  • The network interfaces associated with the container.

    Declaration

    Swift

    public let networkInterfaces: [NetworkInterface]?
  • A short (255 max characters) human-readable string to provide additional details about a running or stopped container.

    Declaration

    Swift

    public let reason: String?
  • The ID of the Docker container.

    Declaration

    Swift

    public let runtimeId: String?
  • The ARN of the task.

    Declaration

    Swift

    public let taskArn: String?
  • Undocumented

    Declaration

    Swift

    public init(containerArn: String? = nil, cpu: String? = nil, exitCode: Int? = nil, gpuIds: [String]? = nil, healthStatus: HealthStatus? = nil, image: String? = nil, imageDigest: String? = nil, lastStatus: String? = nil, memory: String? = nil, memoryReservation: String? = nil, name: String? = nil, networkBindings: [NetworkBinding]? = nil, networkInterfaces: [NetworkInterface]? = nil, reason: String? = nil, runtimeId: String? = nil, taskArn: String? = nil)