ResourceRequirement

public struct ResourceRequirement : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The type of resource to assign to a container. Currently, the only supported resource type is GPU.

    Declaration

    Swift

    public let type: ResourceType
  • The number of physical GPUs to reserve for the container. The number of GPUs reserved for all containers in a job should not exceed the number of available GPUs on the compute resource that the job is launched on.

    Declaration

    Swift

    public let value: String
  • Undocumented

    Declaration

    Swift

    public init(type: ResourceType, value: String)