ContainerOverrides

public struct ContainerOverrides : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The command to send to the container that overrides the default command from the Docker image or the job definition.

    Declaration

    Swift

    public let command: [String]?
  • The environment variables to send to the container. You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the job definition. 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 instance type to use for a multi-node parallel job. This parameter is not valid for single-node container jobs.

    Declaration

    Swift

    public let instanceType: String?
  • The number of MiB of memory reserved for the job. This value overrides the value set in the job definition.

    Declaration

    Swift

    public let memory: Int?
  • The type and amount of a resource to assign to a container. This value overrides the value set in the job definition. Currently, the only supported resource is GPU.

    Declaration

    Swift

    public let resourceRequirements: [ResourceRequirement]?
  • The number of vCPUs to reserve for the container. This value overrides the value set in the job definition.

    Declaration

    Swift

    public let vcpus: Int?
  • Undocumented

    Declaration

    Swift

    public init(command: [String]? = nil, environment: [KeyValuePair]? = nil, instanceType: String? = nil, memory: Int? = nil, resourceRequirements: [ResourceRequirement]? = nil, vcpus: Int? = nil)