ContainerDetail
public struct ContainerDetail : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The command that is passed to the container.
Declaration
Swift
public let command: [String]?
-
The Amazon Resource Name (ARN) of the container instance on which the container is running.
Declaration
Swift
public let containerInstanceArn: String?
-
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.
Declaration
Swift
public let environment: [KeyValuePair]?
-
The exit code to return upon completion.
Declaration
Swift
public let exitCode: Int?
-
The image used to start the container.
Declaration
Swift
public let image: String?
-
The instance type of the underlying host infrastructure of a multi-node parallel job.
Declaration
Swift
public let instanceType: String?
-
The Amazon Resource Name (ARN) associated with the job upon execution.
Declaration
Swift
public let jobRoleArn: String?
-
Linux-specific modifications that are applied to the container, such as details for device mappings.
Declaration
Swift
public let linuxParameters: LinuxParameters?
-
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.
Declaration
Swift
public let logStreamName: String?
-
The number of MiB of memory reserved for the job.
Declaration
Swift
public let memory: Int?
-
The mount points for data volumes in your container.
Declaration
Swift
public let mountPoints: [MountPoint]?
-
The network interfaces associated with the job.
Declaration
Swift
public let networkInterfaces: [NetworkInterface]?
-
When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user).
Declaration
Swift
public let privileged: Bool?
-
When this parameter is true, the container is given read-only access to its root file system.
Declaration
Swift
public let readonlyRootFilesystem: Bool?
-
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 type and amount of a resource to assign to a container. Currently, the only supported resource is GPU.
Declaration
Swift
public let resourceRequirements: [ResourceRequirement]?
-
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.
Declaration
Swift
public let taskArn: String?
-
A list of ulimit values to set in the container.
Declaration
Swift
public let ulimits: [Ulimit]?
-
The user name to use inside the container.
Declaration
Swift
public let user: String?
-
The number of VCPUs allocated for the job.
Declaration
Swift
public let vcpus: Int?
-
A list of volumes associated with the job.
Declaration
Swift
public let volumes: [Volume]?
-
init(command:containerInstanceArn:environment:exitCode:image:instanceType:jobRoleArn:linuxParameters:logStreamName:memory:mountPoints:networkInterfaces:privileged:readonlyRootFilesystem:reason:resourceRequirements:taskArn:ulimits:user:vcpus:volumes:)
Undocumented
Declaration
Swift
public init(command: [String]? = nil, containerInstanceArn: String? = nil, environment: [KeyValuePair]? = nil, exitCode: Int? = nil, image: String? = nil, instanceType: String? = nil, jobRoleArn: String? = nil, linuxParameters: LinuxParameters? = nil, logStreamName: String? = nil, memory: Int? = nil, mountPoints: [MountPoint]? = nil, networkInterfaces: [NetworkInterface]? = nil, privileged: Bool? = nil, readonlyRootFilesystem: Bool? = nil, reason: String? = nil, resourceRequirements: [ResourceRequirement]? = nil, taskArn: String? = nil, ulimits: [Ulimit]? = nil, user: String? = nil, vcpus: Int? = nil, volumes: [Volume]? = nil)